[NTVDM]
[reactos.git] / reactos / subsystems / ntvdm / bios / bios32 / moubios32.c
1 /*
2 * COPYRIGHT: GPL - See COPYING in the top level directory
3 * PROJECT: ReactOS Virtual DOS Machine
4 * FILE: moubios32.c
5 * PURPOSE: VDM Mouse 32-bit BIOS
6 * PROGRAMMERS: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
7 */
8
9 /* INCLUDES *******************************************************************/
10
11 #define NDEBUG
12
13 #include "emulator.h"
14
15 #include "moubios32.h"
16 #include "bios32p.h"
17
18 #include "io.h"
19 #include "hardware/mouse.h"
20
21 /* PRIVATE VARIABLES **********************************************************/
22
23 /* PRIVATE FUNCTIONS **********************************************************/
24
25 // Mouse IRQ 12
26 static VOID WINAPI BiosMouseIrq(LPWORD Stack)
27 {
28 PicIRQComplete(Stack);
29 }
30
31 /* PUBLIC FUNCTIONS ***********************************************************/
32
33 BOOLEAN MouseBios32Initialize(VOID)
34 {
35 /* Set up the HW vector interrupts */
36 EnableHwIRQ(12, BiosMouseIrq);
37
38 return TRUE;
39 }
40
41 VOID MouseBios32Cleanup(VOID)
42 {
43 }