x86_64::structures::idt

Type Alias DivergingHandlerFunc

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

A handler function that must not return, e.g. for a machine check exception.

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

Trait Implementations§

Source§

impl HandlerFuncType for DivergingHandlerFunc

Source§

fn to_virt_addr(self) -> VirtAddr

Get the virtual address of the handler function.