summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64/interrupts/irq.h
diff options
context:
space:
mode:
authordzwdz2022-08-07 22:07:27 +0200
committerdzwdz2022-08-07 22:07:27 +0200
commit9a43ead118ec1506848bad9d2bcddfb0fd458552 (patch)
tree295103e04a01e0eaa319d0984c9a74bb50956c4c /src/kernel/arch/amd64/interrupts/irq.h
parentfbbe8a1cb4c421e9658c5009ecfab6845137587b (diff)
kernel: ps2 mouse support
Diffstat (limited to 'src/kernel/arch/amd64/interrupts/irq.h')
-rw-r--r--src/kernel/arch/amd64/interrupts/irq.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kernel/arch/amd64/interrupts/irq.h b/src/kernel/arch/amd64/interrupts/irq.h
index 2a4b12d..3243224 100644
--- a/src/kernel/arch/amd64/interrupts/irq.h
+++ b/src/kernel/arch/amd64/interrupts/irq.h
@@ -4,8 +4,9 @@
#define IRQ_IBASE 0x20
#define IRQ_PIT 0
-#define IRQ_PS2 1
+#define IRQ_PS2KB 1
#define IRQ_COM1 4
+#define IRQ_PS2MOUSE 12
void irq_init(void);
void irq_eoi(uint8_t line);