diff options
author | Marvin Borner | 2019-11-30 21:07:22 +0100 |
---|---|---|
committer | Marvin Borner | 2019-11-30 21:07:22 +0100 |
commit | 50f949d994c33ab23d63bdb9e8a438560ab0b4c4 (patch) | |
tree | 35089087979bd8cee4693c71264b1c537336e4dd /src/kernel/interrupts/isr.c | |
parent | ac947d45c288f62e927895afe7cd6a722ffdd8f8 (diff) |
Working userspace!
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); |