Abstract base class for all irq-handlers. All irq-handlers must be derived from this class
Definition at line 32 of file IrqHandler.h.
virtual bool IrqHandler::irq |
( |
irq_id_t |
number, |
|
|
InterruptState & |
state |
|
) |
| |
|
pure virtual |
Called when the handler is registered with the irq manager and the irq occurred
- Note
- If this function returns false you have to call IrqManager::acknowledgeIrq() when you removed the interrupt reason.
- Parameters
-
- Returns
- should return true, if the interrupt reason was removed, or false otherwise
Implemented in Ohci, Ehci, Uhci, Rtc, HostedTimer, Ps2Controller, HostedSchedulerTimer, Pit, PciAtaController, IsaAtaController, Ne2k, AtaController, Rtl8139, Nic3C90x, and CdiIrqHandler.