--- stage2/asm.S Mon Jul 22 12:07:36 2002 +++ stage2/tslinux-asm.s Mon Jul 22 14:38:39 2002 @@ -1659,2 +1659,7 @@ * It also eats any keystrokes in the keyboard buffer. :-( + * + * 7.17.2002 -- L. Young ... Technologic Systems + * The AMD Elan and Intel 386EX do not come with keyboard controllers. + * The following simply switches into protected mode via port 92h, + * nothing more. */ @@ -1662,3 +1667,12 @@ ENTRY(gateA20) - ret + pushl %eax + + inb $0x92 + orb $KB_A20_ENABLE, %al + outb $0x92 + + popl %eax + + ret +/*********************************** pushl %eax @@ -1702,3 +1716,3 @@ ret - +**********************************/