1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 08:28:11 +00:00

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

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()