From c31d465a62fbc0ec3194838db4745585471c1050 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 21 Sep 2019 18:07:07 +0200 Subject: Added ACPI based shutdown command --- src/kernel/input/ps2/keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/input/ps2/keyboard.c') diff --git a/src/kernel/input/ps2/keyboard.c b/src/kernel/input/ps2/keyboard.c index ae17675..c40f1f5 100644 --- a/src/kernel/input/ps2/keyboard.c +++ b/src/kernel/input/ps2/keyboard.c @@ -35,7 +35,7 @@ unsigned char keymap[128] = { void keyboard_handler(struct regs *r) { unsigned char scan_code; - scan_code = receive(0x60); + scan_code = receive_b(0x60); if (scan_code & 0x80) { // Release -- cgit v1.2.3