diff options
author | dzwdz | 2022-08-07 22:07:27 +0200 |
---|---|---|
committer | dzwdz | 2022-08-07 22:07:27 +0200 |
commit | 9a43ead118ec1506848bad9d2bcddfb0fd458552 (patch) | |
tree | 295103e04a01e0eaa319d0984c9a74bb50956c4c /src/kernel/arch/amd64/interrupts/isr.c | |
parent | fbbe8a1cb4c421e9658c5009ecfab6845137587b (diff) |
kernel: ps2 mouse support
Diffstat (limited to 'src/kernel/arch/amd64/interrupts/isr.c')
-rw-r--r-- | src/kernel/arch/amd64/interrupts/isr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/kernel/arch/amd64/interrupts/isr.c b/src/kernel/arch/amd64/interrupts/isr.c index 0bfd865..d1c2b26 100644 --- a/src/kernel/arch/amd64/interrupts/isr.c +++ b/src/kernel/arch/amd64/interrupts/isr.c @@ -34,9 +34,10 @@ void isr_stage3(int interrupt, uint64_t *stackframe) { irq_eoi(IRQ_PIT); return; - case IRQ_IBASE + IRQ_PS2: + case IRQ_IBASE + IRQ_PS2KB: + case IRQ_IBASE + IRQ_PS2MOUSE: ps2_irq(); - irq_eoi(IRQ_PS2); + irq_eoi(interrupt - IRQ_IBASE); return; case IRQ_IBASE + IRQ_COM1: |