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§
- An Interrupt Descriptor Table entry.
- Represents the 4 non-offset bytes of an IDT entry.
- An Interrupt Descriptor Table with 256 entries.
- Wrapper type for the interrupt stack frame pushed by the CPU.
- Represents the interrupt stack frame pushed by the CPU on interrupt or exception entry.
- Describes an page fault error code.
- Describes an error code referencing a segment selector.
Enums§
- The possible descriptor table values.
- This structure defines the CPU-internal exception vector numbers.
Traits§
- A common trait for all handler functions usable in
Entry
.
Type Aliases§
- A handler function that must not return, e.g. for a machine check exception.
- A handler function with an error code that must not return, e.g. for a double fault exception.
- A general handler function for an interrupt or an exception with the interrupt/exceptions’s index and an optional error code.
- A handler function for an interrupt or an exception without error code.
- A handler function for an exception that pushes an error code.
- A page fault handler function that pushes a page fault error code.