diff options
author | dzwdz | 2022-03-30 14:14:11 +0200 |
---|---|---|
committer | dzwdz | 2022-03-30 14:14:11 +0200 |
commit | 6b7cbc2842354eabb7c3345390c5891a6f881f0c (patch) | |
tree | d3eb3975ceb25e72f04938e04727b8af73c0104b /src/kernel/arch/i386/interrupts | |
parent | 32a4c0bc7712ea96391b468e63ea476313510323 (diff) |
kernel: remove the keyboard driver, add a `/ps2` device
Diffstat (limited to 'src/kernel/arch/i386/interrupts')
-rw-r--r-- | src/kernel/arch/i386/interrupts/isr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/arch/i386/interrupts/isr.c b/src/kernel/arch/i386/interrupts/isr.c index 001827a..e3bb6d6 100644 --- a/src/kernel/arch/i386/interrupts/isr.c +++ b/src/kernel/arch/i386/interrupts/isr.c @@ -1,7 +1,7 @@ +#include <kernel/arch/i386/driver/ps2.h> #include <kernel/arch/i386/interrupts/irq.h> #include <kernel/arch/i386/interrupts/isr.h> #include <kernel/arch/i386/port_io.h> -#include <kernel/arch/i386/tty/keyboard.h> #include <kernel/arch/io.h> #include <kernel/panic.h> #include <kernel/proc.h> @@ -20,7 +20,7 @@ void isr_stage3(int interrupt) { return; case 0x21: // keyboard irq - keyboard_recv(port_in8(0x60)); + ps2_recv(port_in8(0x60)); irq_eoi(1); return; |