|
| virtual bool | trap (InterruptState &state, uintptr_t address, bool bIsWrite, bool bWasPresent)=0 |
| |
Definition at line 37 of file PageFaultHandler.h.
◆ trap()
| virtual bool MemoryTrapHandler::trap |
( |
InterruptState & |
state, |
|
|
uintptr_t |
address, |
|
|
bool |
bIsWrite, |
|
|
bool |
bWasPresent |
|
) |
| |
|
pure virtual |
Trap event handler.
- Parameters
-
| address | The address of the trap. |
| bIsWrite | True if the trap was caused by a write, false if by a read. |
| bWasPresent | True if the processor reported a protection fault, false if the page was absent when the access occurred. |
- Returns
- True if the trap was handled successfully (and the handler can return), or false if another handler needs to be tried.
Implemented in DLTrapHandler, and MemoryMapManager.
The documentation for this class was generated from the following files: