ReactOS 0.4.15-dev-7918-g2a2556c
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
22
23VOID RegisterBop(BYTE BopCode, EMULATOR_BOP_PROC BopHandler);
24VOID FASTCALL EmulatorBiosOperation(PFAST486_STATE State, UCHAR BopCode);
25
26#endif /* _BOP_H_ */
#define VOID
Definition: acefi.h:82
VOID FASTCALL EmulatorBiosOperation(PFAST486_STATE State, UCHAR BopCode)
Definition: bop.c:34
VOID RegisterBop(BYTE BopCode, EMULATOR_BOP_PROC BopHandler)
Definition: bop.c:29
VOID(WINAPI * EMULATOR_BOP_PROC)(LPWORD Stack)
Definition: bop.h:21
#define FASTCALL
Definition: nt_native.h:50
uint16_t * LPWORD
Definition: typedefs.h:56
_In_ WDFREQUEST _In_ PIO_STACK_LOCATION Stack
Definition: wdfrequest.h:639
#define WINAPI
Definition: msvc.h:6
unsigned char UCHAR
Definition: xmlstorage.h:181
unsigned char BYTE
Definition: xxhash.c:193