Dokumentation
interrupt_handler() Interrupt handler More...
Include dependency graph for handler.h:
Structs | |
struct | InterruptContext |
Preserved interrupt context. More... | |
Functions | |
void | interrupt_handler (Core::Interrupt::Vector vector, InterruptContext *context) |
High-Level Interrupt Handling. More... | |
Constants | |
void *const | interrupt_entry [] |
Array of function pointer to the default low-level interrupt handlers. More... | |
Detailed Description
interrupt_handler() Interrupt handler
Variable Documentation
void* const interrupt_entry[] |
Array of function pointer to the default low-level interrupt handlers.
The index corresponds to the vectors entry function, e.g. interrupt_entry[6]
points to interrupt_entry_6
, handling the trap for invalid opcode.
The entry functions and this array are defined in assembly in interrupt/handler.asm
and used in kernel_init() to initialize the Interrupt Descriptor Table (IDT).