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

15.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 (15.7.4) with the gate descriptor information from base_irq_inittab, programs the PICs to the standard vector base addresses (see Section 15.12.1), and disables all interrupt request lines.

Processor interrupts must be disabled when this routine is called.

NOTE: This routine no longer enables interrupts!

DEPENDENCIES

base_idt
15.7.4
base_irq_inittab
15.12.4
gate_init
15.5.10
pic_init
15.4.2
pic_disable_all
15.4.2
irq_master_base
15.12.1
irq_slave_base
15.12.1



Utah Flux Research Group