The Pedigree Project  0.1
Public Member Functions | List of all members
MemoryTrapHandler Class Referenceabstract
+ Inheritance diagram for MemoryTrapHandler:
+ Collaboration diagram for MemoryTrapHandler:

Public Member Functions

virtual bool trap (InterruptState &state, uintptr_t address, bool bIsWrite)=0
 

Detailed Description

Definition at line 32 of file PageFaultHandler.h.

Member Function Documentation

virtual bool MemoryTrapHandler::trap ( InterruptState &  state,
uintptr_t  address,
bool  bIsWrite 
)
pure virtual

Trap event handler.

Parameters
addressThe address of the trap.
bIsWriteTrue if the trap was caused by a write, false if by a read.
Returns
True if the trap was handled successfully (and the handler can return), or false if another handler needs to be tried.

Implemented in MemoryMapManager, and DLTrapHandler.


The documentation for this class was generated from the following files: