diff options
author | Marvin Borner | 2020-05-11 23:36:08 +0200 |
---|---|---|
committer | Marvin Borner | 2020-05-11 23:36:08 +0200 |
commit | fa5aa82470783d20621f3d21e419f5b8ce70ad0a (patch) | |
tree | 03b175f47f918bcea522a1da2ce82f754e0e64a5 /src/kernel/interrupts | |
parent | fe4280eb69fbeb386b5442b3aeb515dde1c117ec (diff) |
Fixed process name and added process tree print
Diffstat (limited to 'src/kernel/interrupts')
-rw-r--r-- | src/kernel/interrupts/isr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kernel/interrupts/isr.c b/src/kernel/interrupts/isr.c index 8bfb7bd..1ad5f67 100644 --- a/src/kernel/interrupts/isr.c +++ b/src/kernel/interrupts/isr.c @@ -126,7 +126,8 @@ void fault_handler(struct regs *r) } if (current_proc != NULL) { - warn("%s: Halting process %d", message, current_proc->pid); + warn("%s: Suspending process %s with ID %d", message, current_proc->name, + current_proc->pid); memcpy(¤t_proc->registers, r, sizeof(struct regs)); process_suspend(current_proc->pid); process_force_switch(r); |