diff options
Diffstat (limited to 'usr/src/uts/i86pc/boot/boot_keyboard.c')
-rw-r--r-- | usr/src/uts/i86pc/boot/boot_keyboard.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/src/uts/i86pc/boot/boot_keyboard.c b/usr/src/uts/i86pc/boot/boot_keyboard.c index 3bf27243aa..e568a7bd9b 100644 --- a/usr/src/uts/i86pc/boot/boot_keyboard.c +++ b/usr/src/uts/i86pc/boot/boot_keyboard.c @@ -80,8 +80,9 @@ extern unsigned short *kb_status; #else /* __xpv && _BOOT */ /* Device memory addresses */ -#define kb_flag ((unsigned char *)BIOS_KB_FLAG) -#define kb_flag_1 ((unsigned char *)BIOS_KB_FLAG_1) +static unsigned char *kb_status = ((unsigned char *)BIOS_KB_FLAG); +#define kb_flag (&kb_status[0]) +#define kb_flag_1 (&kb_status[1]) #endif /* __xpv && _BOOT */ |