Holger Lubitz
|
c4285e148d
|
use malloc attribute
|
17 år sedan |
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.
|
18 år sedan |
Michael Brown
|
3e0286dee3
|
Move ANSI C standard prototypes to stdlib.h; leave the gPXE-specific
function prototypes (e.g. malloc_dma()) in malloc.h.
|
18 år sedan |
Michael Brown
|
c4677c7e73
|
Implemented realloc(), and changed the semantics of malloc(0) to allow
for realloc(0) being a valid way to free memory.
|
18 år sedan |
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.
|
18 år sedan |