mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 08:12:28 +00:00
Optimize memory layout
This commit is contained in:
parent
0305194d98
commit
b69f3d2488
41 changed files with 383 additions and 347 deletions
|
@ -31,8 +31,8 @@ uintptr_t __break;
|
|||
*
|
||||
* This can be used to allocate and deallocate memory. It won't
|
||||
* conflict with malloc() and mmap(NULL, ...) allocations since
|
||||
* APE binaries load the image at 0x400000 and does allocations
|
||||
* starting at 0x100080000000. You should consult _end, or call
|
||||
* APE binaries load the image at 0x440000 and does allocations
|
||||
* starting at 0x100080040000. You should consult _end, or call
|
||||
* sbrk(NULL), to figure out where the existing break is first.
|
||||
*
|
||||
* @return 0 on success or -1 w/ errno
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue