Sync with trunk r64222.
[reactos.git] / 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 #include "callback.h"
15
16 #include "moubios32.h"
17 #include "bios32p.h"
18
19 #include "io.h"
20 #include "hardware/mouse.h"
21
22 /* PRIVATE VARIABLES **********************************************************/
23
24 /* PRIVATE FUNCTIONS **********************************************************/
25
26 // Mouse IRQ 12
27 static VOID WINAPI BiosMouseIrq(LPWORD Stack)
28 {
29 PicIRQComplete(Stack);
30 }
31
32 /* PUBLIC FUNCTIONS ***********************************************************/
33
34 BOOLEAN MouseBios32Initialize(VOID)
35 {
36 /* Set up the HW vector interrupts */
37 EnableHwIRQ(12, BiosMouseIrq);
38
39 return TRUE;
40 }
41
42 VOID MouseBios32Cleanup(VOID)
43 {
44 }