]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[prefix] Add A20-enabling code in libflat
authorMichael Brown <mcb30@ipxe.org>
Tue, 20 Apr 2010 17:49:43 +0000 (18:49 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 20 Apr 2010 20:00:42 +0000 (21:00 +0100)
commit24b52ae47655109de38d8a40f91efb21aed788ef
treea3b4ef26b791e0c59ada246b4193a82f31cbf619
parentfb754ced5672d3d161bed3892b0dbbead686c4a8
[prefix] Add A20-enabling code in libflat

iPXE currently insists on residing in an even megabyte.  This imposes
undesirably severe constraints upon our PMM allocation strategy, and
limits our options for mechanisms to access ROMs greater than 64kB in
size.

Add A20 handling code to libflat so that prefixes are able to access
memory even in odd megabytes.

The algorithms and tuning parameters in the new A20 handling code are
based upon a mixture of the existing iPXE A20 code and the A20 code
from the 2.6.32 Linux kernel.

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