]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[librm] Use libflat to enable A20 line on each real-to-protected transition
authorMichael Brown <mcb30@ipxe.org>
Tue, 20 Apr 2010 18:20:26 +0000 (19:20 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 20 Apr 2010 20:00:49 +0000 (21:00 +0100)
commit38cd2035ff56307284676d3d10cb77821ae3386a
tree1b39266a7bf7bc3161f0c6736d7e4c95d6615329
parent24b52ae47655109de38d8a40f91efb21aed788ef
[librm] Use libflat to enable A20 line on each real-to-protected transition

Use the shared code in libflat to perform the A20 transitions
automatically on each transition from real to protected mode.  This
allows us to remove all explicit calls to gateA20_set().

The old warnings about avoiding automatically enabling A20 are
essentially redundant; they date back to the time when we would always
start hammering the keyboard controller without first checking to see
if gate A20 was already enabled (which it almost always is).

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/i386/drivers/net/undiload.c
src/arch/i386/firmware/pcbios/gateA20.c [deleted file]
src/arch/i386/image/nbi.c
src/arch/i386/include/gateA20.h [deleted file]
src/arch/i386/include/librm.h
src/arch/i386/interface/pxeparent/pxeparent.c
src/arch/i386/transitions/libflat.S
src/arch/i386/transitions/librm.S