aboutsummaryrefslogtreecommitdiff
path: root/kernel/drivers
diff options
context:
space:
mode:
authorMarvin Borner2021-04-10 15:25:27 +0200
committerMarvin Borner2021-04-10 15:25:27 +0200
commitf96b8ad1ee83dec08ae636e179cc48019ca50b12 (patch)
tree80ff605e1305673291ce6230941db7ed4229856d /kernel/drivers
parent9655593d80e23d2ea3c091e3187e8e47b278bc3d (diff)
Some changes here and there
Diffstat (limited to 'kernel/drivers')
-rw-r--r--kernel/drivers/interrupts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/drivers/interrupts.c b/kernel/drivers/interrupts.c
index 9898ef1..8ca6987 100644
--- a/kernel/drivers/interrupts.c
+++ b/kernel/drivers/interrupts.c
@@ -181,6 +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);
proc_exit(proc, r, 1);
} else {
__asm__ volatile("cli\nhlt");