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:
Matheus
2022-08-04 19:28:20 -03:00
parent 947f4b4a06
commit 28710b6aa8
3 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ static void tracestack(uint64_t** addr){
__attribute((noreturn)) void _panic(char* reason, arch_regs *reg){
printf("PANIC: %s.\n", reason);
printf("PANIC: %s\n", reason);
if(reg){
printf("Register dump:\nRAX: %p RBX: %p RCX: %p RDX: %p R8: %p R9: %p R10: %p R11: %p R12: %p R13: %p R14: %p R15: %p RDI: %p RSP: %p RBP: %p DS: %p ES: %p FS: %p GS: %p CR2: %p ERR: %p RIP: %p CS: %p RFLAGS: %p SS: %p\n",