diff options
author | Marvin Borner | 2021-03-19 23:09:54 +0100 |
---|---|---|
committer | Marvin Borner | 2021-03-19 23:09:54 +0100 |
commit | c97a50ba7baa70b40431594f410ca18e14af3b76 (patch) | |
tree | 12366515d6989dcfc79ec3250558e381e29fb4eb /kernel/drivers | |
parent | 63ed037fdbb04a4855531f5ce980d8517752f640 (diff) |
Some things
Diffstat (limited to 'kernel/drivers')
-rw-r--r-- | kernel/drivers/interrupts.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/drivers/interrupts.c b/kernel/drivers/interrupts.c index 2e1444f..255f976 100644 --- a/kernel/drivers/interrupts.c +++ b/kernel/drivers/interrupts.c @@ -179,6 +179,7 @@ void isr_panic(struct regs *r) printf("\t-> Exception occurred in %s at addr 0x%x\n", proc->name, r->eip - proc->entry); proc_exit(proc, 1); + proc_yield(r); } else { __asm__ volatile("cli\nhlt"); } |