x86_64::structures::idt

Type Alias PageFaultHandlerFunc

Source
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

Source§

fn to_virt_addr(self) -> VirtAddr

Get the virtual address of the handler function.