Go to the documentation of this file.
18 #define MAX_8042_LOOPS 100000
19 #define MAX_8042_FF 32
21 static int empty_8042(
void)
40 }
else if (!(status & 2)) {
52 #define A20_TEST_ADDR (4*0x80)
53 #define A20_TEST_SHORT 32
54 #define A20_TEST_LONG 2097152
56 static int a20_test(
int loops)
79 static int a20_test_short(
void)
86 static int a20_test_long(
void)
91 static void enable_a20_bios(
void)
100 static void enable_a20_kbc(
void)
114 static void enable_a20_fast(
void)
128 #define A20_ENABLE_LOOPS 255
138 if (a20_test_short())
143 if (a20_test_short())
147 kbc_err = empty_8042();
149 if (a20_test_short())