aboutsummaryrefslogtreecommitdiff
path: root/kernel/drivers/interrupts.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/interrupts.c')
-rw-r--r--kernel/drivers/interrupts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/drivers/interrupts.c b/kernel/drivers/interrupts.c
index 92971e4..5b57e56 100644
--- a/kernel/drivers/interrupts.c
+++ b/kernel/drivers/interrupts.c
@@ -181,8 +181,8 @@ void isr_panic(struct regs *r)
if (proc) {
printf("\t-> Exception occurred in %s at addr 0x%x (offset 0x%x)\n", proc->name,
r->eip, r->eip - proc->entry);
- printf("\t\t-> Process: [entry: %x, kstack: %x, ustack: %x]\n", proc->entry,
- proc->stack.kernel, proc->stack.user);
+ printf("\t\t-> Process: [entry: %x, kstack: %x, esp %x, ustack: %x, uesp %x]\n",
+ proc->entry, proc->stack.kernel, r->esp, proc->stack.user, r->useresp);
proc_exit(proc, r, 1);
} else {
__asm__ volatile("cli\nhlt");