Type Alias x86_64::structures::idt::PageFaultHandlerFunc
source · pub type PageFaultHandlerFunc = extern "x86-interrupt" fn(_: InterruptStackFrame, error_code: PageFaultErrorCode);
Available on crate feature
abi_x86_interrupt
only.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
impl HandlerFuncType for PageFaultHandlerFunc
source§fn to_virt_addr(self) -> VirtAddr
fn to_virt_addr(self) -> VirtAddr
Get the virtual address of the handler function.