]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[prefix] Use 16-bit protected mode for access to high memory
authorMichael Brown <mcb30@ipxe.org>
Wed, 26 Jan 2011 23:04:43 +0000 (23:04 +0000)
committerMichael Brown <mcb30@ipxe.org>
Wed, 26 Jan 2011 23:24:44 +0000 (23:24 +0000)
commita84e15234a86cebe40d7454fb7e3ed226443e2e0
tree141ad8f462a0b5009ce1bbe02de2790d347f9bc4
parent21d6f9cd8ee16e3c10f9d7a781fae62b8977f474
[prefix] Use 16-bit protected mode for access to high memory

Flat real mode works perfectly on real hardware, but seems to cause
problems for some hypervisors.  Revert to using 16-bit protected mode
(and returning to real mode with 4GB limits, so as not to break PMM
BIOSes).

Allow the code specific to the .mrom format to continue to assume that
flat real mode works, since this format is specific to real hardware.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/i386/prefix/libprefix.S
src/arch/i386/prefix/mromprefix.S