x86_64::structures::idt

Type Alias HandlerFunc

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

A handler function for an interrupt or an exception without error code.

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

Trait Implementations§

Source§

impl HandlerFuncType for HandlerFunc

Source§

fn to_virt_addr(self) -> VirtAddr

Get the virtual address of the handler function.