0738b0d8469afc98596b69ab76272f70514dbf90
[reactos.git] / subsystems / ntvdm / int32.h
1 /*
2 * COPYRIGHT: GPL - See COPYING in the top level directory
3 * PROJECT: ReactOS Virtual DOS Machine
4 * FILE: int32.h
5 * PURPOSE: 32-bit Interrupt Handlers
6 * PROGRAMMERS: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
7 * Hermes Belusca-Maito (hermes.belusca@sfr.fr)
8 */
9
10 #ifndef _INT32_H_
11 #define _INT32_H_
12
13 /* DEFINES ********************************************************************/
14
15 /* 32-bit Interrupt dispatcher function code for the Control BOP Handler */
16 #define CTRL_BOP_INT32 0xFF
17
18 /* 32-bit Interrupt Identifiers */
19 #define EMULATOR_MAX_INT32_NUM 0xFF + 1
20
21 /* FUNCTIONS ******************************************************************/
22
23 typedef VOID (WINAPI *EMULATOR_INT32_PROC)(LPWORD Stack);
24
25 VOID WINAPI Int32Dispatch(LPWORD Stack);
26 VOID WINAPI InitializeInt32(WORD BiosSegment);
27 VOID WINAPI RegisterInt32(BYTE IntNumber, EMULATOR_INT32_PROC IntHandler);
28
29 #endif // _INT32_H_
30
31 /* EOF */