pub type PageFaultHandlerFunc = extern "x86-interrupt" fn(_: InterruptStackFrame, error_code: PageFaultErrorCode);Expand description
A page fault handler function that pushes a page fault error code.
This type alias is only usable with the abi_x86_interrupt feature enabled.
Trait Implementations§
Source§impl HandlerFuncType for PageFaultHandlerFunc
Available on (x86 or x86-64) and crate feature abi_x86_interrupt only.
impl HandlerFuncType for PageFaultHandlerFunc
Available on (x86 or x86-64) and crate feature
abi_x86_interrupt only.Source§fn to_virt_addr(self) -> VirtAddr
fn to_virt_addr(self) -> VirtAddr
Get the virtual address of the handler function.