![]() |
Max OS 0.3
|
Handles a page fault exception. More...
#include <interrupts.h>
Public Member Functions | |
| PageFaultHandler () | |
| Create a new PageFaultHandler. | |
| string | get_message (system::cpu_status_t *status) final |
| Get an human readable error message explaining this exception. | |
Public Member Functions inherited from MaxOS::hardwarecommunication::ExceptionHandler | |
| ExceptionHandler (uint8_t interrupt_number) | |
| Create a new base exception handler for an interrupt. | |
| ~ExceptionHandler () | |
| virtual system::cpu_status_t * | handle_interrupt (system::cpu_status_t *status) |
| Handle the interrupt relating to this exception. | |
Public Member Functions inherited from MaxOS::hardwarecommunication::InterruptHandler | |
| virtual void | handle_interrupt () |
| Handles an interrupt. | |
Additional Inherited Members | |
Protected Member Functions inherited from MaxOS::hardwarecommunication::InterruptHandler | |
| InterruptHandler (uint8_t interrupt_number, int64_t redirect=-1, uint64_t redirect_index=0) | |
| Creates a new interrupt handler and registers it with the interrupt manager. | |
| virtual | ~InterruptHandler () |
| Destroys the interrupt handler and unregisters it from the interrupt manager. | |
Protected Attributes inherited from MaxOS::hardwarecommunication::InterruptHandler | |
| uint8_t | m_interrupt_number |
| The interrupt number this handler handles. | |
Handles a page fault exception.
Definition at line 115 of file interrupts.h.
|
inline |
Create a new PageFaultHandler.
Definition at line 119 of file interrupts.h.
|
finalvirtual |
Get an human readable error message explaining this exception.
| status | The CPU state at time of exception |
Reimplemented from MaxOS::hardwarecommunication::ExceptionHandler.
Definition at line 176 of file interrupts.cpp.