HandlerFuncWithErrCode

Type Alias HandlerFuncWithErrCode 

Source
pub type HandlerFuncWithErrCode = extern "x86-interrupt" fn(_: InterruptStackFrame, error_code: u64);
Expand description

A handler function for an exception that pushes an error code.

This type alias is only usable with the abi_x86_interrupt feature enabled.

Trait Implementations§

Source§

impl HandlerFuncType for HandlerFuncWithErrCode

Available on (x86 or x86-64) and crate feature abi_x86_interrupt only.
Source§

fn to_virt_addr(self) -> VirtAddr

Get the virtual address of the handler function.