StuBS
|
interrupt_handler() Interrupt handler More...
Classes | |
struct | InterruptContext |
Preserved interrupt context. More... | |
Functions | |
void | interrupt_handler (Core::Interrupt::Vector vector, InterruptContext *context) |
High-Level Interrupt Handling. | |
Variables | |
void *const | interrupt_entry [] |
Array of function pointer to the default low-level interrupt handlers. | |
interrupt_handler() Interrupt handler
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).