interrupt: basic ipl handling

This commit is contained in:
Matheus
2023-04-23 15:42:08 -03:00
parent ee63940c68
commit 5f84cdec3c
4 changed files with 28 additions and 11 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ void arch_idt_reload() {
// make sure to reserve the first 32 isrs for exceptions with a dummy panic isr
for (int i = 0; i < 32; ++i)
interrupt_register(i, exceptisr, NULL, 0); // TODO assign priority
interrupt_register(i, exceptisr, NULL, IPL_MAX);
}
void arch_interrupt_disable() {