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

10.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 (10.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 (10.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 (10.12.2). Upon return from the handler, the interrupt code checks for a pending software interrupt and dispatches to base_irq_softint_handler.

DEPENDENCIES

base_irq_handlers
10.12.2
base_irq_nest
10.12.6
base_irq_softint_handler
10.12.8



University of Utah Flux Research Group