The Pedigree Project
0.1
|
#include <PageFaultHandler.h>
Public Member Functions | |
bool | initialise () |
void | registerHandler (MemoryTrapHandler *pHandler) |
virtual void | interrupt (size_t interruptNumber, InterruptState &state) |
Static Public Member Functions | |
static PageFaultHandler & | instance () |
Private Member Functions | |
PageFaultHandler () INITIALISATION_ONLY | |
PageFaultHandler (const PageFaultHandler &) | |
virtual | ~InterruptHandler () |
Private Attributes | |
List< MemoryTrapHandler * > | m_Handlers |
Static Private Attributes | |
static EXPORTED_PUBLIC PageFaultHandler | m_Instance |
The x86 Page Fault Exception handler.
Definition at line 47 of file PageFaultHandler.h.
|
private |
The default constructor.
Definition at line 40 of file armv7/PageFaultHandler.cc.
|
private |
The copy constructor. Note not implemented.
bool PageFaultHandler::initialise | ( | ) |
Register the PageFaultHandler with the InterruptManager.
Definition at line 31 of file armv7/PageFaultHandler.cc.
Referenced by Processor::initialisationDone().
|
inlinestatic |
Get the PageFaultHandler instance
Definition at line 52 of file PageFaultHandler.h.
Referenced by DLTrapHandler::DLTrapHandler(), Processor::initialisationDone(), and MemoryMapManager::MemoryMapManager().
|
virtual |
Called when the handler is registered with the interrupt manager and the interrupt occurred
[in] | nInterruptNumber | the interrupt number |
[in] | state | reference to the state before the interrupt |
Implements InterruptHandler.
Definition at line 36 of file armv7/PageFaultHandler.cc.
|
inline |
Registers a trap handler.
Definition at line 62 of file PageFaultHandler.h.
References INITIALISATION_ONLY.
Referenced by DLTrapHandler::DLTrapHandler(), and MemoryMapManager::MemoryMapManager().
|
staticprivate |