aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/input/ps2/keyboard.c
diff options
context:
space:
mode:
authorMarvin Borner2019-09-21 18:07:07 +0200
committerMarvin Borner2019-09-21 18:07:07 +0200
commitc31d465a62fbc0ec3194838db4745585471c1050 (patch)
tree10e544bc856ea1898e39d6c9304f746aa1d74670 /src/kernel/input/ps2/keyboard.c
parentd91024fb750356bad65cce5bdef206e530b37c53 (diff)
Added ACPI based shutdown command
Diffstat (limited to 'src/kernel/input/ps2/keyboard.c')
-rw-r--r--src/kernel/input/ps2/keyboard.c2
1 files changed, 1 insertions, 1 deletions
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