Expand description
Provides types for the Interrupt Descriptor Table and its entries.
§For the builds without the abi_x86_interrupt
feature
The following types are opaque and non-constructable instead of function pointers.
DivergingHandlerFunc
DivergingHandlerFuncWithErrCode
HandlerFunc
HandlerFuncWithErrCode
PageFaultHandlerFunc
These types are defined for the compatibility with the Nightly Rust build.
Structs§
- Entry
- An Interrupt Descriptor Table entry.
- Entry
Options - Represents the 4 non-offset bytes of an IDT entry.
- Interrupt
Descriptor Table - An Interrupt Descriptor Table with 256 entries.
- Interrupt
Stack Frame - Wrapper type for the interrupt stack frame pushed by the CPU.
- Interrupt
Stack Frame Value - Represents the interrupt stack frame pushed by the CPU on interrupt or exception entry.
- Invalid
Exception Vector Number - Exception vector number is invalid
- Page
Fault Error Code - Describes an page fault error code.
- Selector
Error Code - Describes an error code referencing a segment selector.
Enums§
- Descriptor
Table - The possible descriptor table values.
- Exception
Vector - This structure defines the CPU-internal exception vector numbers.
Traits§
- Handler
Func Type - A common trait for all handler functions usable in
Entry
.
Type Aliases§
- Diverging
Handler Func - A handler function that must not return, e.g. for a machine check exception.
- Diverging
Handler Func With ErrCode - A handler function with an error code that must not return, e.g. for a double fault exception.
- General
Handler Func - A general handler function for an interrupt or an exception with the interrupt/exceptions’s index and an optional error code.
- Handler
Func - A handler function for an interrupt or an exception without error code.
- Handler
Func With ErrCode - A handler function for an exception that pushes an error code.
- Page
Fault Handler Func - A page fault handler function that pushes a page fault error code.