David Thompson wrote:
> 
> Sure, I'll compare any of your updates to mine. The memory routines
> are going to be a bear. I can get the executive to run with 24MB, but
> it's going to take a bit of work to really get to the bottom of this.
> Any idea where the documentation for Mach memory management is?
> 
> David
>

I've been looking for some documentation, but haven't found
any yet. I was lately reduced to reading header files.

>From my poor understanding of this, there seem to be 
two choices in DX: use "dataseg" style memory allocation
which uses brk/sbrk calls or use shared memory
(shmget). The man pages for brk/sbrk made me think
that the dataseg approach is outdated and maybe even
not valid for Mach memory. I am in the middle of
trying to debug the shmget option, but no luck yet.

I suspect the best thing to do is ask/search on the 
darwin-developer list. I'm not even sure what question
to ask yet, but I guess I'll get on now.

I'll write up my notes on porting and post them to the 
list this evening.

Thanks

 Richard

Reply via email to