From 4a844820866094ff7d57435a16b7c23a9126814d Mon Sep 17 00:00:00 2001 From: dzwdz Date: Wed, 3 Aug 2022 21:34:58 +0200 Subject: amd64: cleanup the irq code, #define the magic numbers --- src/kernel/arch/amd64/interrupts/irq.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/kernel/arch/amd64/interrupts/irq.h') diff --git a/src/kernel/arch/amd64/interrupts/irq.h b/src/kernel/arch/amd64/interrupts/irq.h index f523154..3340101 100644 --- a/src/kernel/arch/amd64/interrupts/irq.h +++ b/src/kernel/arch/amd64/interrupts/irq.h @@ -2,5 +2,9 @@ #include #include +#define IRQ_IBASE 0x20 +#define IRQ_PS2 1 +#define IRQ_COM1 4 + void irq_init(void); void irq_eoi(uint8_t line); -- cgit v1.2.3