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

13.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 (13.7.4) with the gate descriptor information from base_irq_inittab, programs the PICs to the standard vector base addresses (see Section 13.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
13.7.4
base_irq_inittab
13.12.4
gate_init
13.5.10
pic_init
13.4.2
pic_disable_all
13.4.2
irq_master_base
13.12.1
irq_slave_base
13.12.1



Utah Flux Research Group