2 * COPYRIGHT: GPL - See COPYING in the top level directory
3 * PROJECT: ReactOS Virtual DOS Machine
5 * PURPOSE: VDM 32-bit BIOS
6 * PROGRAMMERS: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
12 /* INCLUDES *******************************************************************/
17 /**/ #include "callback.h" /**/
19 /* DEFINES ********************************************************************/
21 #define BIOS_PIC_MASTER_INT 0x08
22 #define BIOS_PIC_SLAVE_INT 0x70
24 #define BIOS_EQUIPMENT_INTERRUPT 0x11
25 #define BIOS_MEMORY_SIZE 0x12
26 #define BIOS_MISC_INTERRUPT 0x15
27 #define BIOS_TIME_INTERRUPT 0x1A
28 #define BIOS_SYS_TIMER_INTERRUPT 0x1C
30 /* FUNCTIONS ******************************************************************/
32 extern CALLBACK16 BiosContext
;
33 #define RegisterBiosInt32(IntNumber, IntHandler) \
35 BiosContext.NextOffset += RegisterInt32(MAKELONG(BiosContext.NextOffset, \
36 BiosContext.Segment), \
37 (IntNumber), (IntHandler), NULL); \
40 VOID
EnableHwIRQ(UCHAR hwirq
, EMULATOR_INT32_PROC func
);
41 VOID
PicIRQComplete(LPWORD Stack
);