ReactOS 0.4.16-dev-319-g6cf4263
|
Go to the source code of this file.
Classes | |
struct | _CALLBACK16 |
Macros | |
#define | BOP(num) LOBYTE(EMULATOR_BOP), HIBYTE(EMULATOR_BOP), (num) |
#define | UnSimulate16(trap) |
#define | TRAMPOLINE_SIZE sizeof(ULONGLONG) |
Typedefs | |
typedef struct _CALLBACK16 | CALLBACK16 |
typedef struct _CALLBACK16 * | PCALLBACK16 |
Functions | |
VOID | InitializeContextEx (IN PCALLBACK16 Context, IN ULONG TrampolineSize, IN USHORT Segment, IN USHORT Offset) |
VOID | InitializeContext (IN PCALLBACK16 Context, IN USHORT Segment, IN USHORT Offset) |
VOID | Call16 (IN USHORT Segment, IN USHORT Offset) |
VOID | RunCallback16 (IN PCALLBACK16 Context, IN ULONG FarPtr) |
ULONG | RegisterCallback16 (IN ULONG FarPtr, IN LPBYTE CallbackCode, IN SIZE_T CallbackSize, OUT PSIZE_T CodeSize OPTIONAL) |
#define BOP | ( | num | ) | LOBYTE(EMULATOR_BOP), HIBYTE(EMULATOR_BOP), (num) |
Definition at line 15 of file callback.h.
Definition at line 24 of file callback.h.
#define UnSimulate16 | ( | trap | ) |
Definition at line 16 of file callback.h.
typedef struct _CALLBACK16 CALLBACK16 |
typedef struct _CALLBACK16 * PCALLBACK16 |
Definition at line 71 of file callback.c.
Referenced by Int32Call(), and RunCallback16().
Definition at line 60 of file callback.c.
Referenced by DosBootsectorInitialize(), DosKRNLInitialize(), DosMouseInitialize(), DosStart(), InitializeBiosInt32(), and KsCreateDefaultAllocatorEx().
VOID InitializeContextEx | ( | IN PCALLBACK16 | Context, |
IN ULONG | TrampolineSize, | ||
IN USHORT | Segment, | ||
IN USHORT | Offset | ||
) |
ULONG RegisterCallback16 | ( | IN ULONG | FarPtr, |
IN LPBYTE | CallbackCode, | ||
IN SIZE_T | CallbackSize, | ||
OUT PSIZE_T CodeSize | OPTIONAL | ||
) |
Definition at line 120 of file callback.c.
Referenced by RegisterInt16().
VOID RunCallback16 | ( | IN PCALLBACK16 | Context, |
IN ULONG | FarPtr | ||
) |
Definition at line 93 of file callback.c.
Referenced by BiosMouseIrq(), CallMouseUserHandlers(), DosCallDriver(), and InitRomRange().