Cope with regions bigger than 4GB.
authorMichael Brown <mcb30@etherboot.org>
Tue, 23 May 2006 23:33:37 +0000 (23:33 +0000)
committerMichael Brown <mcb30@etherboot.org>
Tue, 23 May 2006 23:33:37 +0000 (23:33 +0000)
commit5ec2b2c2510d1f4c94352d82fdbfd590d48c337d
tree94433e23c18525160fe92cb2ec32cdbc5f356ac3
parentbef8874842a6a0cd7befdb092079bdca3895d604
Cope with regions bigger than 4GB.

We now split e820 regions around ourselves, rather than just
truncating the e820 region.  This avoids the worst-case scenario of
losing all memory over 4GB.

It's more important to get the memory map right now that we're
expecting to still be loaded when the OS starts in several situations
(e.g. Linux with UNDI driver, any OS with iSCSI/AoE boot, etc.).
src/arch/i386/firmware/pcbios/e820mangler.S