|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include "cpu/callback.h"

Go to the source code of this file.
Macros | |
| #define | EMULATOR_MAX_INT32_NUM 0xFF + 1 |
| #define | STACK_INT_NUM 0 |
| #define | STACK_IP 1 |
| #define | STACK_CS 2 |
| #define | STACK_FLAGS 3 |
| #define | Int16To32StubSize 17 |
Typedefs | |
| typedef VOID(WINAPI * | EMULATOR_INT32_PROC) (LPWORD Stack) |
Functions | |
| 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) |
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().
| 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().