next up previous contents index
Next: 10.4.3 keyboard.h: PC keyboard Up: (X86 PC) Generic Low-level Previous: 10.4.1 irq_list.h: Standard hardware

10.4.2 pic.h: Programmable Interrupt Controller definitions

 

SYNOPSIS

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

DESCRIPTION

XXX

This contains definitions for the 8259(A) Programmable Interrupt Controller (PIC). In addition to numerous constants, it also contains the prototypes for several functions and macros.

pic_init(unsigned char master_base, unsigned char slave_base)
   MASTER_PIC_BASE and SLAVES_PIC_BASE are also defined, and may be passed in as parameters.
pic_disable_irq(unsigned char irq)
  
pic_enable_irq(unsigned char irq)
  
pic_test_irq(unsigned char irq)
  
pic_enable_all
  
pic_disable_all
  
pic_ack(irq)
  



University of Utah Flux Research Group