From f9ce893e143a7c2356a0f2204afac1f37d3e54d2 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Wed, 25 Jan 2023 21:49:14 +0100 Subject: kernel/irq: use a lookup table for irqs --- src/kernel/arch/amd64/boot.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/kernel/arch/amd64/boot.c') diff --git a/src/kernel/arch/amd64/boot.c b/src/kernel/arch/amd64/boot.c index 32d0452..bc9a675 100644 --- a/src/kernel/arch/amd64/boot.c +++ b/src/kernel/arch/amd64/boot.c @@ -5,7 +5,7 @@ #include #include #include -#include +#include #include #include #include @@ -37,6 +37,7 @@ void kmain_early(void *mbi) { idt_init(); kprintf("irq..."); irq_init(); + timer_init(); { kprintf("mem...\n"); -- cgit v1.2.3