diff options
Diffstat (limited to 'kernel/drivers')
-rw-r--r-- | kernel/drivers/interrupts.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/drivers/interrupts.c b/kernel/drivers/interrupts.c index a0cd106..fe2321a 100644 --- a/kernel/drivers/interrupts.c +++ b/kernel/drivers/interrupts.c @@ -232,6 +232,10 @@ static void isr_install(void) idt_set_gate(29, (u32)isr29, 0x08, 0x8E); idt_set_gate(30, (u32)isr30, 0x08, 0x8E); idt_set_gate(31, (u32)isr31, 0x08, 0x8E); + + // Set default routines + for (u32 i = 0; i < 256; i++) + isr_routines[i] = isr_panic; } /** |