19#define EMULATOR_FLAG_CF (1 << 0)
20#define EMULATOR_FLAG_PF (1 << 2)
21#define EMULATOR_FLAG_AF (1 << 4)
22#define EMULATOR_FLAG_ZF (1 << 6)
23#define EMULATOR_FLAG_SF (1 << 7)
24#define EMULATOR_FLAG_TF (1 << 8)
25#define EMULATOR_FLAG_IF (1 << 9)
26#define EMULATOR_FLAG_DF (1 << 10)
27#define EMULATOR_FLAG_OF (1 << 11)
28#define EMULATOR_FLAG_NT (1 << 14)
29#define EMULATOR_FLAG_RF (1 << 16)
30#define EMULATOR_FLAG_VM (1 << 17)
31#define EMULATOR_FLAG_AC (1 << 18)
32#define EMULATOR_FLAG_VIF (1 << 19)
33#define EMULATOR_FLAG_VIP (1 << 20)
34#define EMULATOR_FLAG_ID (1 << 21)
VOID EmulatorTerminate(VOID)
VOID EmulatorException(BYTE ExceptionNumber, LPWORD Stack)
@ EMULATOR_EXCEPTION_PAGE_FAULT
@ EMULATOR_EXCEPTION_NO_SEGMENT
@ EMULATOR_EXCEPTION_BREAKPOINT
@ EMULATOR_EXCEPTION_DEBUG
@ EMULATOR_EXCEPTION_STACK_SEGMENT
@ EMULATOR_EXCEPTION_NO_FPU
@ EMULATOR_EXCEPTION_DOUBLE_FAULT
@ EMULATOR_EXCEPTION_BOUND
@ EMULATOR_EXCEPTION_DIVISION_BY_ZERO
@ EMULATOR_EXCEPTION_INVALID_OPCODE
@ EMULATOR_EXCEPTION_FPU_SEGMENT
@ EMULATOR_EXCEPTION_OVERFLOW
@ EMULATOR_EXCEPTION_INVALID_TSS
_In_ ULONG _In_ ULONG Offset
BOOLEAN CpuInitialize(VOID)
VOID CpuExecute(WORD Segment, WORD Offset)
FAST486_STATE EmulatorContext
_In_ WDFREQUEST _In_ PIO_STACK_LOCATION Stack