20 #ifndef KERNEL_MACHINE_IRQMANAGER_H 21 #define KERNEL_MACHINE_IRQMANAGER_H 23 #include "pedigree/kernel/machine/types.h" 24 #include "pedigree/kernel/processor/types.h" 50 uint8_t irq,
IrqHandler *handler,
bool bEdge =
false) = 0;
62 virtual void enable(uint8_t irq,
bool enable) = 0;
virtual void unregisterHandler(irq_id_t Id, IrqHandler *handler)=0
virtual irq_id_t registerIsaIrqHandler(uint8_t irq, IrqHandler *handler, bool bEdge=false)=0
virtual irq_id_t registerPciIrqHandler(IrqHandler *handler, Device *pDevice)=0
IrqManager & operator=(const IrqManager &)
virtual void acknowledgeIrq(irq_id_t Id)=0
virtual bool control(uint8_t irq, ControlCode code, size_t argument)