8259.c File Reference

#include <sys/io.h>
#include <isa/8259.h>
#include <ubixos/types.h>
#include <lib/kprintf.h>

Go to the source code of this file.

Functions

int i8259_init ()
void irqDisable (uInt16 irqNo)
void irqEnable (uInt16 irqNo)

Variables

static unsigned int irqMask = 0xFFFF


Function Documentation

int i8259_init (  ) 

Definition at line 46 of file 8259.c.

References icw1, icw4, kprintf(), mImr, mPic, mVec, outportByte(), sImr, sPic, and sVec.

void irqDisable ( uInt16  irqNo  ) 

Definition at line 93 of file 8259.c.

References irqMask, mPic, outportByte(), and sPic.

Referenced by _int13(), kpanic(), and ne2kHandler().

void irqEnable ( uInt16  irqNo  ) 

Definition at line 75 of file 8259.c.

References irqMask, mPic, outportByte(), and sPic.

Referenced by _int13(), atkbd_init(), fdc_init(), kmain(), mouseInit(), ne2k_init(), and ne2kHandler().


Variable Documentation

unsigned int irqMask = 0xFFFF [static]

Definition at line 35 of file 8259.c.

Referenced by irqDisable(), and irqEnable().


Generated on Tue Dec 5 11:01:17 2006 for UbixOS V2 by  doxygen 1.4.7