#include <oskit/x86/pc/base_irq.h>void (*base_irq_handlers [BASE_IRQ_COUNT]) (struct trap_state *ts);
Contains a function pointer for every hardware interrupt vector. By default, all entries in this table point to base_irq_default_handler. Custom interrupt handlers can be installed by changing the appropriate table entry.Interrupt handlers can freely examine and modify the processor state (10.8.1) of the interrupted activity, e.g., to implement threads and preemption. On entry, the processor's IDT interrupt vector number is in ts->trapno and the hardware IRQ number that caused the interrupt is in ts->err.
- base_irq_default_handler
- 10.12.5