Michael Brown
|
6d4e37cf42
|
Move include/malloc.h to include/gpxe/malloc.h, since everything in there
is now gPXE-specific. (The standard malloc() et al have been in stdlib.h
for a while).
Add free memory counter.
|
il y a 18 ans |
Michael Brown
|
3e0286dee3
|
Move ANSI C standard prototypes to stdlib.h; leave the gPXE-specific
function prototypes (e.g. malloc_dma()) in malloc.h.
|
il y a 18 ans |
Michael Brown
|
c4677c7e73
|
Implemented realloc(), and changed the semantics of malloc(0) to allow
for realloc(0) being a valid way to free memory.
|
il y a 18 ans |
Michael Brown
|
b601a7d355
|
Updated memory allocator to improve support for unaligned or partially
aligned blocks.
Moved header to include/malloc.h, since we now also provide the
POSIX-like malloc()/free() pair.
Not yet tested.
|
il y a 18 ans |