#include <isa/mouse.h>
#include <isa/8259.h>
#include <sys/idt.h>
#include <sys/gdt.h>
#include <sys/io.h>
#include <lib/kprintf.h>
#include <ubixos/types.h>
Go to the source code of this file.
Functions | |
| asm (".globl mouseISR \n""mouseISR: \n"" pusha \n"" call mouseHandler \n"" popa \n"" iret \n") | |
| static uInt8 | kbdRead () |
| static void | kbdWrite (uInt16 port, uInt8 data) |
| static uInt8 | kbdWriteRead (uInt16 port, uInt8 data, const char *expect) |
| void | mouseHandler () |
| int | mouseInit () |
| asm | ( | ".globl mouseISR \n""mouseISR: \n"" pusha \n"" call mouseHandler \n"" popa \n"" iret \n" | ) |
| static uInt8 kbdRead | ( | ) | [static] |
Definition at line 38 of file mouse.c.
References inportByte().
Referenced by kbdWriteRead(), and mouseInit().
Definition at line 59 of file mouse.c.
References inportByte(), and outportByte().
Referenced by kbdWriteRead(), and mouseInit().
Definition at line 75 of file mouse.c.
References kbdRead(), and kbdWrite().
Referenced by mouseInit().
| void mouseHandler | ( | ) |
| int mouseInit | ( | ) |
Definition at line 94 of file mouse.c.
References dDpl3, dInt, dPresent, eoi, irqEnable(), kbdRead(), kbdWrite(), kbdWriteRead(), kprintf(), mouseISR(), mPic, mVec, outportByte(), setVector(), and sPic.
1.4.7