scheduler timer

abstraction of a timer that is local to each cpu and is used for scheduling
This commit is contained in:
Matheus
2022-08-07 12:50:17 -03:00
parent 50243cc540
commit 1a2486cadd
12 changed files with 107 additions and 11 deletions
+4
View File
@@ -2,6 +2,10 @@
#include <arch/panic.h>
#include <kernel/vmm.h>
void isr_schedtimer(arch_regs *reg){
printf("schedtimer irq\n");
}
void isr_general(arch_regs *reg){
_panic("Unhandled interrupt", reg);
asm("hlt");