x86_64::structures::idt

Type Alias GeneralHandlerFunc

Source
pub type GeneralHandlerFunc = fn(_: InterruptStackFrame, index: u8, error_code: Option<u64>);
Expand description

A general handler function for an interrupt or an exception with the interrupt/exceptions’s index and an optional error code.