1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:37:46 +00:00

Interrupts: Handle spurious IRQs from eoi() method

This commit is contained in:
Liav A 2020-03-21 12:03:22 +02:00 committed by Andreas Kling
parent 8d9b6c57b5
commit 5f579904c1
2 changed files with 8 additions and 3 deletions

View file

@ -44,7 +44,7 @@ void SpuriousInterruptHandler::unregister_handler(GenericInterruptHandler&)
bool SpuriousInterruptHandler::eoi()
{
// FIXME: Actually check if IRQ7 or IRQ15 are spurious, and if not, call EOI with the correct interrupt number.
m_responsible_irq_controller->spurious_eoi(*this);
m_responsible_irq_controller->eoi(*this);
return false;
}