8259.h File Reference

#include <ubixos/types.h>

Go to the source code of this file.

Defines

#define eoi   0x20
#define icw1   0x11
#define icw4   0x01
#define mImr   0x21
#define mPic   0x20
#define mVec   0x68
#define ocw3Irr   0x0A
#define ocw3Isr   0x0B
#define sImr   0xA1
#define sPic   0xA0
#define sVec   0x70

Functions

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


Define Documentation

#define eoi   0x20

Definition at line 39 of file 8259.h.

Referenced by mouseHandler(), mouseInit(), and ne2kHandler().

#define icw1   0x11

Definition at line 40 of file 8259.h.

Referenced by i8259_init().

#define icw4   0x01

Definition at line 41 of file 8259.h.

Referenced by i8259_init().

#define mImr   0x21

Definition at line 36 of file 8259.h.

Referenced by i8259_init().

#define mPic   0x20

Definition at line 35 of file 8259.h.

Referenced by i8259_init(), irqDisable(), irqEnable(), mouseHandler(), mouseInit(), and ne2kHandler().

#define mVec   0x68

Definition at line 42 of file 8259.h.

Referenced by atkbd_init(), fdc_init(), i8259_init(), initLNC(), mouseInit(), and ne2k_init().

#define ocw3Irr   0x0A

Definition at line 44 of file 8259.h.

#define ocw3Isr   0x0B

Definition at line 45 of file 8259.h.

#define sImr   0xA1

Definition at line 38 of file 8259.h.

Referenced by i8259_init().

#define sPic   0xA0

Definition at line 37 of file 8259.h.

Referenced by i8259_init(), irqDisable(), irqEnable(), mouseHandler(), mouseInit(), and ne2kHandler().

#define sVec   0x70

Definition at line 43 of file 8259.h.

Referenced by i8259_init().


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().


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