atkbd.h File Reference

Go to the source code of this file.

Defines

#define altKey   4
#define controlKey   2
#define ledCapslock   4
#define ledNumlock   2
#define ledScrolllock   1
#define shiftKey   1

Functions

int atkbd_init ()
void atkbd_isr ()
void keyboardHandler ()
void setLED ()


Define Documentation

#define altKey   4

Definition at line 35 of file atkbd.h.

Referenced by keyboardHandler().

#define controlKey   2

Definition at line 34 of file atkbd.h.

Referenced by keyboardHandler().

#define ledCapslock   4

Definition at line 38 of file atkbd.h.

Referenced by keyboardHandler().

#define ledNumlock   2

Definition at line 36 of file atkbd.h.

Referenced by keyboardHandler().

#define ledScrolllock   1

Definition at line 37 of file atkbd.h.

Referenced by keyboardHandler().

#define shiftKey   1

Definition at line 33 of file atkbd.h.

Referenced by keyboardHandler().


Function Documentation

int atkbd_init (  ) 

Definition at line 156 of file atkbd.c.

References atkbd_isr(), atkbd_scan(), dDpl0, dInt, dPresent, irqEnable(), kprintf(), mVec, setLED(), setVector(), stdinBuffer, and x1.

void atkbd_isr (  ) 

Referenced by atkbd_init().

void keyboardHandler (  ) 

Definition at line 215 of file atkbd.c.

References altKey, atkbd_scan(), atkbdSpinLock, backSpace(), controlKey, controlKeys, inportByte(), keyboardMap, keyMap, kprintf(), ledCapslock, ledNumlock, ledScrolllock, ledStatus, outportByte(), setLED(), shiftKey, spinTryLock(), spinUnlock(), tty_termNode::stdin, stdinBuffer, stdinSize, tty_termNode::stdinSize, systemVitals, tty_change(), and tty_foreground.

void setLED (  ) 

Definition at line 320 of file atkbd.c.

References inportByte(), ledStatus, and outportByte().

Referenced by atkbd_init(), and keyboardHandler().


Generated on Sun Dec 3 02:38:06 2006 for UbixOS V2 by  doxygen 1.4.7