diff options
Diffstat (limited to 'sys/arch/amd64/stand/libsa/gateA20.c')
-rw-r--r-- | sys/arch/amd64/stand/libsa/gateA20.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/arch/amd64/stand/libsa/gateA20.c b/sys/arch/amd64/stand/libsa/gateA20.c index 26cfb3539cb..66a11a08cdd 100644 --- a/sys/arch/amd64/stand/libsa/gateA20.c +++ b/sys/arch/amd64/stand/libsa/gateA20.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gateA20.c,v 1.1 2004/02/03 12:09:47 mickey Exp $ */ +/* $OpenBSD: gateA20.c,v 1.2 2004/03/21 21:37:41 tom Exp $ */ /* * Ported to boot 386BSD by Julian Elischer (julian@tfs.com) Sept 1992 @@ -36,6 +36,8 @@ #include "libsa.h" +int ps2model = 0; /* Not set in amd64 */ + #define KB_A20 0xdf /* enable A20, enable output buffer full interrupt enable data line @@ -43,6 +45,16 @@ /* + * "Probe"-style routine (no parameters) to turn A20 on + */ +void +gateA20on(void) +{ + gateA20(1); +} + + +/* * Gate A20 for high memory */ void |