20 #ifndef KERNEL_MACHINE_MIPS_COMMON_PIC_H 21 #define KERNEL_MACHINE_MIPS_COMMON_PIC_H 23 #include "pedigree/kernel/machine/IrqManager.h" 24 #include "pedigree/kernel/processor/InterruptManager.h" 25 #include "pedigree/kernel/processor/IoPort.h" 71 virtual void interrupt(
size_t interruptNumber, InterruptState &state);
73 void eoi(uint8_t irq);
74 void enable(uint8_t irq,
bool enable);
75 void enableAll(
bool enable);
virtual irq_id_t registerPciIrqHandler(IrqHandler *handler, Device *pDevice)
virtual void acknowledgeIrq(irq_id_t Id)
#define INITIALISATION_ONLY
Pic & operator=(const Pic &)
virtual void unregisterHandler(irq_id_t Id, IrqHandler *handler)
List< IrqHandler * > m_Handler[16]
Pic() INITIALISATION_ONLY
virtual void interrupt(size_t interruptNumber, InterruptState &state)
Abstract base class for interrupt-handlers.
virtual irq_id_t registerIsaIrqHandler(uint8_t irq, IrqHandler *handler, bool bEdge=false)
bool initialise() INITIALISATION_ONLY