2 * COPYRIGHT: GPL - See COPYING in the top level directory
3 * PROJECT: ReactOS Virtual DOS Machine
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)
13 /* DEFINES ********************************************************************/
15 /* 32-bit Interrupt dispatcher function code for the Control BOP Handler */
16 #define CTRL_BOP_INT32 0xFF
18 /* 32-bit Interrupt Identifiers */
19 #define EMULATOR_MAX_INT32_NUM 0xFF + 1
21 #define INT_HANDLER_OFFSET 0x1000
22 #define COMMON_STUB_OFFSET 0x2000
24 /* FUNCTIONS ******************************************************************/
26 typedef VOID (WINAPI
*EMULATOR_INT32_PROC
)(LPWORD Stack
);
28 VOID WINAPI
Int32Dispatch(LPWORD Stack
);
29 VOID WINAPI
InitializeInt32(WORD BiosSegment
);
30 VOID WINAPI
RegisterInt32(BYTE IntNumber
, EMULATOR_INT32_PROC IntHandler
);