From c97a50ba7baa70b40431594f410ca18e14af3b76 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 19 Mar 2021 23:09:54 +0100 Subject: Some things --- kernel/drivers/interrupts.c | 1 + 1 file changed, 1 insertion(+) (limited to 'kernel/drivers') 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"); } -- cgit v1.2.3