From 9dfe7be7839d834bd9162bc833843c344a7e9da9 Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Sat, 11 Jul 2015 00:14:54 +0200 Subject: [PATCH] call apic_eio to signalize that an exception is handled --- hermit/arch/x86/kernel/isrs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hermit/arch/x86/kernel/isrs.c b/hermit/arch/x86/kernel/isrs.c index d4b47df0f..b35188425 100644 --- a/hermit/arch/x86/kernel/isrs.c +++ b/hermit/arch/x86/kernel/isrs.c @@ -40,7 +40,7 @@ #include #include #include -#include +#include /* * These are function prototypes for all of the exception @@ -218,8 +218,8 @@ static void fault_handler(struct state *s) kputs(exception_messages[s->int_no]); kprintf(" Exception (%d) at 0x%llx:0x%llx, error code 0x%llx, rflags 0x%llx\n", s->int_no, s->cs, s->rip, s->error, s->rflags); - outportb(0x20, 0x20); - + + apic_eoi(s->int_no); irq_enable(); abort(); }