20 #ifndef KERNEL_MACHINE_X86_COMMON_APIC_H 21 #define KERNEL_MACHINE_X86_COMMON_APIC_H 25 #include "pedigree/kernel/compiler.h" 26 #include "pedigree/kernel/machine/IrqManager.h" 27 #include "pedigree/kernel/machine/types.h" 28 #include "pedigree/kernel/processor/types.h" 46 inline virtual ~Apic()
59 virtual void enable(irq_id_t Id,
bool bEnable);
69 Apic &operator=(const Apic &);
72 static Apic m_Instance;
#define INITIALISATION_ONLY
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
virtual void acknowledgeIrq(irq_id_t Id)=0