diff options
Diffstat (limited to 'src/kernel/interrupts/isr.c')
-rw-r--r-- | src/kernel/interrupts/isr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/kernel/interrupts/isr.c b/src/kernel/interrupts/isr.c index 8b42a24..106cac8 100644 --- a/src/kernel/interrupts/isr.c +++ b/src/kernel/interrupts/isr.c @@ -170,6 +170,8 @@ void fault_handler(struct regs *r) serial_write_hex(r->ecx); serial_write("\nEDX: "); serial_write_hex(r->edx); + serial_write("\nESP: "); + serial_write_hex(r->esp); serial_write("\nFaulting address: "); serial_write_hex(faulting_address); serial_write("\nError flags: "); @@ -180,7 +182,7 @@ void fault_handler(struct regs *r) serial_write_hex(r->int_no); serial_write("\nInterrupt message: "); serial_write(exception_messages[r->int_no]); - halt_loop(); // Idk loop? + // halt_loop(); // Idk loop? char *message = (char *) exception_messages[r->int_no]; strcat(message, " Exception"); panic(message); |