20 #ifndef KERNEL_PROCESSOR_MIPS32_INTERRUPTMANAGER_H 21 #define KERNEL_PROCESSOR_MIPS32_INTERRUPTMANAGER_H 23 #include "pedigree/kernel/compiler.h" 24 #include "pedigree/kernel/processor/InterruptManager.h" 25 #include "pedigree/kernel/processor/SyscallManager.h" 26 #include "pedigree/kernel/processor/types.h" 48 virtual bool registerExternalInterruptHandler(
71 static void interrupt(InterruptState &interruptState);
static MIPS32InterruptManager & instance()
static void initialiseProcessor()
Handles interrupts and interrupt registrations from kernel components.
virtual size_t getDebugInterruptNumber() PURE
static MIPS32InterruptManager m_Instance
InterruptHandler * m_DbgHandler[64]
static void interrupt(InterruptState &interruptState)
SyscallHandler * m_SyscallHandler[SyscallManager::serviceEnd]
virtual bool registerInterruptHandler(size_t interruptNumber, InterruptHandler *handler)
virtual bool registerInterruptHandlerDebugger(size_t interruptNumber, InterruptHandler *handler)
virtual size_t getBreakpointInterruptNumber() PURE
MIPS32InterruptManager & operator=(const MIPS32InterruptManager &)
virtual ~MIPS32InterruptManager()
Abstract base class for interrupt-handlers.
virtual bool registerSyscallHandler(Service_t Service, SyscallHandler *handler)