2bf21f2eb3192ea773377430a5a7dc92817ee06a
[reactos.git] / reactos / subsystems / ntvdm / hardware / ps2.h
1 /*
2 * COPYRIGHT: GPL - See COPYING in the top level directory
3 * PROJECT: ReactOS Virtual DOS Machine
4 * FILE: ps2.h
5 * PURPOSE: PS/2 controller emulation
6 * PROGRAMMERS: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
7 * Hermes Belusca-Maito (hermes.belusca@sfr.fr)
8 */
9
10 #ifndef _PS2_H_
11 #define _PS2_H_
12
13 /* INCLUDES *******************************************************************/
14
15 #include "ntvdm.h"
16
17 /* DEFINES ********************************************************************/
18
19 #define PS2_DATA_PORT 0x60
20 #define PS2_CONTROL_PORT 0x64
21
22 /* FUNCTIONS ******************************************************************/
23
24 BOOLEAN PS2QueuePush(BYTE PS2Port, BYTE Data);
25
26 VOID GenerateIrq1(VOID);
27 VOID GenerateIrq12(VOID);
28
29 BOOLEAN PS2Initialize(VOID);
30 VOID PS2Cleanup(VOID);
31
32 #endif // _PS2_H_
33
34 /* EOF */