Unify the arch_regs structs

I was doing something stupid and keeping a separate version for the cpu registers. oh well, I fixed it now
This commit is contained in:
Matheus
2022-07-29 09:37:09 -03:00
parent f508798638
commit a316d054f5
7 changed files with 14 additions and 14 deletions
+3 -3
View File
@@ -2,17 +2,17 @@
#include <arch/panic.h>
#include <kernel/vmm.h>
void isr_general(arch_regsnoerror *reg){
void isr_general(arch_regs *reg){
_panic("Unhandled interrupt", 0);
asm("hlt");
}
void isr_except(arch_regserror *reg){
void isr_except(arch_regs *reg){
_panic("CPU Exception", reg);
asm("hlt;");
}
void isr_pagefault(arch_regserror *reg){
void isr_pagefault(arch_regs *reg){
if(!vmm_dealwithrequest(reg->cr2))
_panic("Page fault!\n", 0);