CPU: Move EOI call to the end of handle_interrupt()

This commit is contained in:
Liav A 2020-03-06 15:50:00 +02:00 committed by Andreas Kling
parent 1bc7ba8df8
commit f7b207c7ae
Notes: sideshowbarker 2024-07-19 08:09:43 +09:00

View file

@ -655,8 +655,8 @@ void handle_interrupt(RegisterState regs)
ASSERT(s_interrupt_handler[irq]);
s_interrupt_handler[irq]->handle_interrupt(regs);
s_interrupt_handler[irq]->increment_invoking_counter();
s_interrupt_handler[irq]->eoi();
--g_in_irq;
s_interrupt_handler[irq]->eoi();
}
void sse_init()