104 FAST486_MEM_READ_PROC MemReadCallback,
105 FAST486_MEM_WRITE_PROC MemWriteCallback,
106 FAST486_IO_READ_PROC IoReadCallback,
107 FAST486_IO_WRITE_PROC IoWriteCallback,
108 FAST486_BOP_PROC BopCallback,
109 FAST486_INT_ACK_PROC IntAckCallback,
110 FAST486_FPU_PROC FpuCallback,
136 FAST486_MEM_READ_PROC MemReadCallback =
State->MemReadCallback;
137 FAST486_MEM_WRITE_PROC MemWriteCallback =
State->MemWriteCallback;
138 FAST486_IO_READ_PROC IoReadCallback =
State->IoReadCallback;
139 FAST486_IO_WRITE_PROC IoWriteCallback =
State->IoWriteCallback;
140 FAST486_BOP_PROC BopCallback =
State->BopCallback;
141 FAST486_INT_ACK_PROC IntAckCallback =
State->IntAckCallback;
142 FAST486_FPU_PROC FpuCallback =
State->FpuCallback;
149 State->Flags.AlwaysSet = 1;
150 State->InstPtr.LowWord = 0xFFF0;
158 State->SegmentRegs[
i].Selector = 0;
159 State->SegmentRegs[
i].Base = 0;
160 State->SegmentRegs[
i].Limit = 0xFFFF;
165 State->SegmentRegs[
i].SystemType = 1;
166 State->SegmentRegs[
i].Dpl = 0;
171 State->SegmentRegs[FAST486_REG_CS].Executable =
TRUE;
172 State->SegmentRegs[FAST486_REG_CS].Selector = 0xF000;
173 State->SegmentRegs[FAST486_REG_CS].Base = 0xFFFF0000;
176 State->Idtr.Size = 0x3FF;
177 State->Idtr.Address = 0;
179#ifndef FAST486_NO_FPU
185 State->FpuStatus.Value = 0;
186 State->FpuTag = 0xFFFF;
190 State->MemReadCallback = MemReadCallback;
191 State->MemWriteCallback = MemWriteCallback;
192 State->IoReadCallback = IoReadCallback;
193 State->IoWriteCallback = IoWriteCallback;
194 State->BopCallback = BopCallback;
195 State->IntAckCallback = IntAckCallback;
196 State->FpuCallback = FpuCallback;
200 Fast486FlushTlb(
State);
215 if (!Fast486LoadSegment(
State, FAST486_REG_CS,
Segment))
230 if (!Fast486LoadSegment(
State, FAST486_REG_SS,
Segment))
255 State->PrefixFlags = 0;
256 State->InstPtr.Long =
State->SavedInstPtr.Long;
258#ifndef FAST486_NO_PREFETCH
VOID NTAPI Fast486SetStack(PFAST486_STATE State, USHORT Segment, ULONG Offset)
static VOID FASTCALL Fast486IoReadCallback(PFAST486_STATE State, USHORT Port, PVOID Buffer, ULONG DataCount, UCHAR DataSize)
static VOID FASTCALL Fast486MemReadCallback(PFAST486_STATE State, ULONG Address, PVOID Buffer, ULONG Size)
static VOID FASTCALL Fast486BopCallback(PFAST486_STATE State, UCHAR BopCode)
VOID NTAPI Fast486InterruptSignal(PFAST486_STATE State)
static VOID FASTCALL Fast486FpuCallback(PFAST486_STATE State)
VOID NTAPI Fast486Rewind(PFAST486_STATE State)
VOID NTAPI Fast486Initialize(PFAST486_STATE State, FAST486_MEM_READ_PROC MemReadCallback, FAST486_MEM_WRITE_PROC MemWriteCallback, FAST486_IO_READ_PROC IoReadCallback, FAST486_IO_WRITE_PROC IoWriteCallback, FAST486_BOP_PROC BopCallback, FAST486_INT_ACK_PROC IntAckCallback, FAST486_FPU_PROC FpuCallback, PULONG Tlb)
VOID NTAPI Fast486SetSegment(PFAST486_STATE State, FAST486_SEG_REGS Segment, USHORT Selector)
static UCHAR FASTCALL Fast486IntAckCallback(PFAST486_STATE State)
static VOID FASTCALL Fast486MemWriteCallback(PFAST486_STATE State, ULONG Address, PVOID Buffer, ULONG Size)
VOID NTAPI Fast486Reset(PFAST486_STATE State)
static VOID FASTCALL Fast486IoWriteCallback(PFAST486_STATE State, USHORT Port, PVOID Buffer, ULONG DataCount, UCHAR DataSize)
VOID NTAPI Fast486ExecuteAt(PFAST486_STATE State, USHORT Segment, ULONG Offset)
#define FAST486_FPU_DEFAULT_CONTROL
#define FAST486_NUM_SEG_REGS
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
_In_ NDIS_STATUS _In_ ULONG _In_ USHORT _In_opt_ PVOID _In_ ULONG DataSize
#define UNREFERENCED_PARAMETER(P)
_In_ ULONG _In_ ULONG Offset
#define RtlZeroMemory(Destination, Length)
#define RtlMoveMemory(Destination, Source, Length)
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size