next up previous contents index
Next: 15.12.5 base_irq_default_handler: default IRQ Up: (X86 PC) Base Environment: Previous: 15.12.3 base_irq_init: Initialize hardware

15.12.4 base_irq_inittab: initialization table for default interrupt entrypoints

   

SYNOPSIS

#include <oskit/x86/pc/base_irq.h>

extern struct gate_init_entry base_irq_inittab [];

DESCRIPTION

This gate initialization table (15.3.9) encapsulates the base environment's default interrupt entrypoint code. This module provides IDT entrypoints for all the standard PC hardware interrupt vectors; each entrypoint pushes a standard state frame on the stack (15.8.1), disables and acknowledges the hardware interrupt, and then calls the C handler function pointed to by the appropriate entry of the base_irq_handlers array (15.12.2). Upon return from the handler, the interrupt code checks for a pending software interrupt and dispatches to function pointer contained in base_irq_softint_handler.

DEPENDENCIES

base_irq_handlers
15.12.2
base_irq_nest
15.12.6
base_irq_softint_handler
15.12.8



Utah Flux Research Group