]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[umalloc] Unhide umalloc()ed memory region when there are no allocations
authorMichael Brown <mcb30@ipxe.org>
Mon, 26 Mar 2012 23:21:24 +0000 (00:21 +0100)
committerMichael Brown <mcb30@ipxe.org>
Mon, 26 Mar 2012 23:31:01 +0000 (00:31 +0100)
commit2834f9f6ded44dbb217e3a8fa02f63b980dcfefb
tree6e139d03b48f97194afa7dbca6b20d5ce10a086a
parent920799a0bad73b7cc356a846876efdb72c19a065
[umalloc] Unhide umalloc()ed memory region when there are no allocations

At present, we always hide an extra sizeof(struct external_memory), to
account for the header on the lowest allocated block.  This header
ceases to exist when there are no allocated blocks remaining.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/i386/interface/pcbios/memtop_umalloc.c