[FAST486]
[reactos.git] / reactos / subsystems / ntvdm / bop.h
1 /*
2 * COPYRIGHT: GPL - See COPYING in the top level directory
3 * PROJECT: ReactOS Virtual DOS Machine
4 * FILE: bop.h
5 * PURPOSE: BIOS Operation Handlers
6 * PROGRAMMERS: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
7 * Hermes Belusca-Maito (hermes.belusca@sfr.fr)
8 */
9
10 #ifndef _BOP_H_
11 #define _BOP_H_
12
13 /* DEFINES ********************************************************************/
14
15 /* BOP Identifiers */
16 #define EMULATOR_BOP 0xC4C4
17 #define EMULATOR_MAX_BOP_NUM 0xFF + 1
18
19 /* FUNCTIONS ******************************************************************/
20
21 typedef VOID (WINAPI *EMULATOR_BOP_PROC)(LPWORD Stack);
22
23 VOID RegisterBop(BYTE BopCode, EMULATOR_BOP_PROC BopHandler);
24 VOID WINAPI EmulatorBiosOperation(PFAST486_STATE State, UCHAR BopCode);
25
26 #endif // _BOP_H_
27
28 /* EOF */