T.R | Title | User | Personal Name | Date | Lines |
---|
9833.1 | sbrk? | CADSYS::BOGDANOV | | Thu May 15 1997 11:07 | 2 |
| How about just using 'sbrk' to reserve memory starting at a currently available
lower virtual address boundary?
|
9833.2 | Let the OS do it... | WTFN::SCALES | Despair is appropriate and inevitable. | Thu May 15 1997 20:21 | 6 |
| Or, how about using mmap(2) and create an MAP_ANONYMOUS|MAP_VARIABLE|MAP_PRIVATE
region. If you don't specify the starting address, the OS will place the region
for you.
Webb
|
9833.3 | Assembly Language Programmer's Guide | GIDDAY::STRAUSS | talking through my binoculars | Thu May 15 1997 21:47 | 8 |
| If it's any use to you, the Assembly Language Programmer's Guide has a
memory map diagram showing which address regions aree used for what.
Look around section 6.5 Memory Allocation
Hope this helps
leon
|
9833.4 | | SMURF::DENHAM | Digital UNIX Kernel | Fri May 16 1997 10:43 | 3 |
| There's an example of how to use the Mach vm_region call (undocumented
and unsupported, I might add) in here somewhere. Could be helpful
depending on what the real goal of all this is....
|