mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 23:18:21 +00:00
Fix a few issues
Panics in a few ISRs did not include registers. Removed a dot in panic string. Fixed an issue that would cause the system to page fault inside the vmm_dealwithrequest() function.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
#include <kernel/vmm.h>
|
||||
|
||||
void isr_general(arch_regs *reg){
|
||||
_panic("Unhandled interrupt", 0);
|
||||
_panic("Unhandled interrupt", reg);
|
||||
asm("hlt");
|
||||
}
|
||||
|
||||
@@ -15,6 +15,6 @@ void isr_except(arch_regs *reg){
|
||||
void isr_pagefault(arch_regs *reg){
|
||||
|
||||
if(!vmm_dealwithrequest(reg->cr2))
|
||||
_panic("Page fault!\n", 0);
|
||||
_panic("Page fault!", reg);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user