ReactOS  0.4.13-dev-982-g9853eab
bop.h
Go to the documentation of this file.
1 /*
2  * COPYRIGHT: GPL - See COPYING in the top level directory
3  * PROJECT: ReactOS Virtual DOS Machine
4  * FILE: subsystems/mvdm/ntvdm/cpu/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 FASTCALL EmulatorBiosOperation(PFAST486_STATE State, UCHAR BopCode);
25 
26 #endif /* _BOP_H_ */
VOID(WINAPI * EMULATOR_BOP_PROC)(LPWORD Stack)
Definition: bop.h:21
#define FASTCALL
Definition: nt_native.h:50
#define WINAPI
Definition: msvc.h:8
unsigned char UCHAR
Definition: xmlstorage.h:181
#define VOID
Definition: acefi.h:82
unsigned char BYTE
Definition: mem.h:68
VOID FASTCALL EmulatorBiosOperation(PFAST486_STATE State, UCHAR BopCode)
Definition: bop.c:34
uint16_t * LPWORD
Definition: typedefs.h:54
VOID RegisterBop(BYTE BopCode, EMULATOR_BOP_PROC BopHandler)
Definition: bop.c:29