[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)
committerStefan Hajnoczi <stefanha@gmail.com>
Wed, 7 Jul 2010 19:14:36 +0000 (20:14 +0100)
commit92b8f2fc2eb9c8571a5fad8b19113cb75a7c7877
tree4508925d1de5a080c1aebb31c4c6d1d169065d07
parent5bc6c0ca2f8d20f2fbacc1980fb86ac6dc694b68
[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>
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
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