1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

call apic_eio to signalize that an exception is handled

This commit is contained in:
Stefan Lankes 2015-07-11 00:14:54 +02:00
parent 48386ce69e
commit 9dfe7be783

View file

@ -40,7 +40,7 @@
#include <asm/isrs.h>
#include <asm/irq.h>
#include <asm/idt.h>
#include <asm/io.h>
#include <asm/apic.h>
/*
* 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();
}