still fighting an issue
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include <lib/print.h>
|
||||
|
||||
#include "syscall.h"
|
||||
#include "common.h"
|
||||
|
||||
#include <drivers/pic/pic.h>
|
||||
#include <drivers/ps2/ps2.h>
|
||||
@@ -110,7 +111,14 @@ void common_interrupt_handler(registers *args) {
|
||||
case 13:
|
||||
case 15:
|
||||
case 16:
|
||||
kprintf("CPU Error: %s, %d\n", err_messages[args->int_no], args->error_code);
|
||||
kprintf("CPU Error: [%d]%s\n", args->int_no, err_messages[args->int_no]);
|
||||
kprintf("Error Code: 0x%x\n", args->error_code);
|
||||
kprintf("Instruction Pointer: 0x%x\n", args->eip);
|
||||
kprintf("Stack Pointer: 0x%x\n", args->useresp);
|
||||
kprintf("EAX: 0x%x\n", args->eax);
|
||||
kprintf("EFLAGS: 0x%x\n", args->eflags);
|
||||
kprintf("cr3: 0x%x\n", fetch_cr3());
|
||||
while(1);
|
||||
break;
|
||||
case 14:{
|
||||
uint32_t faulting_address;
|
||||
|
||||
Reference in New Issue
Block a user