ReactOS 0.4.16-dev-297-gc569aee
|
#include "ntvdm.h"
#include <debug.h>
#include "emulator.h"
#include "int32.h"
#include "cpu/bop.h"
#include <isvbop.h>
Go to the source code of this file.
Macros | |
#define | NDEBUG |
#define | BOP_CONTROL 0xFF |
#define | BOP_CONTROL_DEFFUNC 0x00 |
#define | BOP_CONTROL_INT32 0xFF |
#define | INT16_TRAMPOLINE_SIZE sizeof(ULONGLONG) |
Functions | |
C_ASSERT (sizeof(Int16To32)==Int16To32StubSize) | |
static VOID WINAPI | Int32Dispatch (LPWORD Stack) |
static VOID WINAPI | ControlBop (LPWORD Stack) |
ULONG | RegisterInt16 (IN ULONG FarPtr, IN BYTE IntNumber, IN LPBYTE CallbackCode, IN SIZE_T CallbackSize, OUT PSIZE_T CodeSize OPTIONAL) |
ULONG | RegisterInt32 (IN ULONG FarPtr, IN BYTE IntNumber, IN EMULATOR_INT32_PROC IntHandler, OUT PSIZE_T CodeSize OPTIONAL) |
VOID | Int32Call (IN PCALLBACK16 Context, IN BYTE IntNumber) |
VOID | InitializeInt32 (VOID) |
Variables | |
static EMULATOR_INT32_PROC | Int32Proc [EMULATOR_MAX_INT32_NUM] = { NULL } |
static BYTE | Int16To32 [] |
C_ASSERT | ( | sizeof(Int16To32) | = =Int16To32StubSize | ) |
Definition at line 80 of file int32.c.
Referenced by InitializeInt32().
Definition at line 194 of file int32.c.
Referenced by EmulatorInitialize().
VOID Int32Call | ( | IN PCALLBACK16 | Context, |
IN BYTE | IntNumber | ||
) |
*Trampoline++ = 0x90; // nop
Definition at line 151 of file int32.c.
Referenced by BiosCharPrint(), BiosKeyboardIrq(), BiosPs2Service(), BiosTimerIrq(), ConDrvInputStatus(), ConDrvReadInput(), ConDrvWriteOutput(), Dem_BiosCharPrint(), DosControlBreak(), DosFastConOut(), and VbeService().
Definition at line 68 of file int32.c.
Referenced by ControlBop().
ULONG RegisterInt16 | ( | IN ULONG | FarPtr, |
IN BYTE | IntNumber, | ||
IN LPBYTE | CallbackCode, | ||
IN SIZE_T | CallbackSize, | ||
OUT PSIZE_T CodeSize | OPTIONAL | ||
) |
Definition at line 100 of file int32.c.
Referenced by RegisterInt32().
ULONG RegisterInt32 | ( | IN ULONG | FarPtr, |
IN BYTE | IntNumber, | ||
IN EMULATOR_INT32_PROC | IntHandler, | ||
OUT PSIZE_T CodeSize | OPTIONAL | ||
) |
Definition at line 118 of file int32.c.
Referenced by DosMouseEnable(), DosMouseInitialize(), and EmsDrvInitialize().
|
static |
Definition at line 38 of file int32.c.
Referenced by RegisterInt32().
|
static |
Definition at line 28 of file int32.c.
Referenced by Int32Dispatch(), and RegisterInt32().