diff options
Diffstat (limited to 'src/kernel/interrupts')
-rw-r--r-- | src/kernel/interrupts/irq.c | 16 | ||||
-rw-r--r-- | src/kernel/interrupts/isr.c | 2 |
2 files changed, 2 insertions, 16 deletions
diff --git a/src/kernel/interrupts/irq.c b/src/kernel/interrupts/irq.c index 7c45718..9fd0c31 100644 --- a/src/kernel/interrupts/irq.c +++ b/src/kernel/interrupts/irq.c @@ -3,36 +3,22 @@ #include <system.h> extern void irq0(); - extern void irq1(); - extern void irq2(); - extern void irq3(); - extern void irq4(); - extern void irq5(); - extern void irq6(); - extern void irq7(); - extern void irq8(); - extern void irq9(); - extern void irq10(); - extern void irq11(); - extern void irq12(); - extern void irq13(); - extern void irq14(); - extern void irq15(); +extern void irq128(); // Array to handle custom IRQ handlers void *irq_routines[16] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; diff --git a/src/kernel/interrupts/isr.c b/src/kernel/interrupts/isr.c index 3bfc2b8..b24529f 100644 --- a/src/kernel/interrupts/isr.c +++ b/src/kernel/interrupts/isr.c @@ -47,7 +47,7 @@ void isrs_install() idt_set_gate(30, (unsigned)isr30, 0x08, 0x8E); idt_set_gate(31, (unsigned)isr31, 0x08, 0x8E); - idt_set_gate(0x80, (unsigned)isr128, 0x08, 0xEE); + idt_set_gate(0x80, (unsigned)isr128, 0x08, 0x8E); info("Installed Interrupt Service Routines"); } |