|
L4Re Operating System Framework
Interface and Usage Documentation
|
A page fault trampoline handler is an alternative mechanism to handle page faults. More...
Topics | |
| ARM page fault trampoline handler. | |
| ARM64 page fault trampoline handler. | |
| AMD64 page fault trampoline handler. | |
| x86 page fault trampoline handler. | |
| RISC-V page fault trampoline handler. | |
Data Structures | |
| struct | l4_pf_trampoline_t |
| State for page fault trampoline handler. More... | |
Typedefs | |
| typedef struct l4_pf_trampoline_regs_t | l4_pf_trampoline_regs_t |
| Opaque type for the page fault trampoline register state. | |
| typedef struct l4_pf_trampoline_t | l4_pf_trampoline_t |
| Opaque type for the page fault trampoline state. | |
Enumerations | |
| enum | L4_pf_trampoline_flags { Page_fault_in_progress = 1 << 0 , Trigger_exception_after_resume = 1 << 1 } |
| Definitions for l4_pf_trampoline_t::flags. More... | |
A page fault trampoline handler is an alternative mechanism to handle page faults.
Instead of sending a page fault IPC to the pager of the faulting thread, a dedicated page fault handler is directly called by the kernel in the context of the faulting thread.
The handler has access to the instruction pointer and the page fault address. The l4_pf_trampoline_t state contains this information plus additional information saved by the kernel on entering the kernel page fault handler and restored before leaving the kernel page fault handler.
| typedef struct l4_pf_trampoline_t l4_pf_trampoline_t |
Opaque type for the page fault trampoline state.
State for page fault trampoline handler.
Definition at line 75 of file pf_trampoline.h.
Definitions for l4_pf_trampoline_t::flags.
Definition at line 40 of file pf_trampoline.h.