next up previous contents index
Next: 10.12.4 base_irq_inittab: initialization table Up: (X86 PC) Base Environment: Previous: 10.12.2 base_irq_handlers: Array of

10.12.3 base_irq_init: Initialize hardware interrupts

   

SYNOPSIS

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

void base_irq_init(void);

DESCRIPTION

Initializes the system to properly handle hardware interrupts. It loads the appropriate entries in the base IDT (10.7.4) with the gate descriptor information from base_irq_inittab, programs the PICs to the standard vector base addresses (see Section 10.12.1), and disables all interrupt request lines.

Processor interrupts must be disabled when this routine is called, they will be enabled upon return.

DEPENDENCIES

base_idt
10.7.4
base_irq_inittab
10.12.4
gate_init
10.5.10
pic_init
10.4.2
pic_disable_all
10.4.2
irq_master_base
10.12.1
irq_slave_base
10.12.1



University of Utah Flux Research Group