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 Identifiers */
16 #define EMULATOR_MAX_INT32_NUM 0xFF + 1
18 #define INT_HANDLER_OFFSET 0x1000
19 #define COMMON_STUB_OFFSET 0x2000
21 /* FUNCTIONS ******************************************************************/
23 typedef VOID (WINAPI
*EMULATOR_INT32_PROC
)(LPWORD Stack
);
25 VOID WINAPI
Int32Dispatch(LPWORD Stack
);
26 VOID
InitializeInt32(WORD BiosSegment
);
27 VOID
RegisterInt32(BYTE IntNumber
, EMULATOR_INT32_PROC IntHandler
);