]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[pcbios] Merge adjacent memory regions of same type
authorEduardo Habkost <ehabkost@redhat.com>
Wed, 16 Feb 2011 18:41:24 +0000 (16:41 -0200)
committerMichael Brown <mcb30@ipxe.org>
Thu, 17 Feb 2011 01:25:08 +0000 (01:25 +0000)
commit3293eb8e7305bc0cdaeb1359873576899c7e33e4
tree36d19f1e82a210c29af0a15c07fd3cd8a30a2909
parent72d387eac134618058993e0efec16e907f1661a1
[pcbios] Merge adjacent memory regions of same type

Some BIOSes can report multiple memory regions which may be adjacent
and the same type.  Since only the first region is used in the
mboot.c32 layer it's possible to run out of memory when loading all of
the boot modules.  One may get around this problem by having iPXE
merge these memory regions internally.

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