aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/interrupts
diff options
context:
space:
mode:
authorMarvin Borner2020-05-11 19:14:20 +0200
committerMarvin Borner2020-05-11 19:14:20 +0200
commitd00e6a08ededb16e5d075ce28d7d797763e25c55 (patch)
tree1ab924d955056c342d21e1632251c4899bf8f11c /src/kernel/interrupts
parent6abd515c051b6dcb545e1033ff129aaaf7293917 (diff)
Some very small fixes in several files
Diffstat (limited to 'src/kernel/interrupts')
-rw-r--r--src/kernel/interrupts/irq.c16
-rw-r--r--src/kernel/interrupts/isr.c2
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");
}