x86_64::structures::idt

Type Alias DivergingHandlerFuncWithErrCode

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

A handler function with an error code that must not return, e.g. for a double fault exception.

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

Trait Implementations§

Source§

impl HandlerFuncType for DivergingHandlerFuncWithErrCode

Source§

fn to_virt_addr(self) -> VirtAddr

Get the virtual address of the handler function.