summaryrefslogtreecommitdiff
path: root/core/mem/malloc.c
Commit message (Collapse)AuthorAgeFilesLines
* core/mem: better dprintf()H. Peter Anvin2010-02-241-1/+2
| | | | | | | Add a few dprintf() statements to the core malloc/free which makes it easier to track down bugs. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* core: use better malloc; add low memory malloc; fix com32 exitH. Peter Anvin2010-02-231-0/+98
Use a better malloc for the core. In particular, use the same core that we should eventually be able to use for the entire system in Syslinux 5 -- with module awareness, etc. This code can also accommodate multiple heaps. Set up a separate heap for lowmem; the intent is to use explicit lowmem allocations instead of the static bounce buffer. The lowmem allocation is also exported via the pmapi mechanism, so modules can safely allocate lowmem. Signed-off-by: H. Peter Anvin <hpa@zytor.com>