97{
106
107
109 {
110
114
115
119
120
123
124
126
127
129 {
130
132
133
141 FxSaveFormat->
MXCsr = 0x1F80;
142 }
143 else
144 {
145
146 Context->FloatSave.ControlWord = 0x27F;
147 Context->FloatSave.StatusWord = 0;
148 Context->FloatSave.TagWord = -1;
149 Context->FloatSave.ErrorOffset = 0;
150 Context->FloatSave.ErrorSelector = 0;
151 Context->FloatSave.DataOffset =0;
152 Context->FloatSave.DataSelector = 0;
153 }
154
155
156 Context->FloatSave.Cr0NpxState = 0;
159
160
162
163
166
167
168 Context->ContextFlags &= ~CONTEXT_DEBUG_REGISTERS;
169
170
172
173
176 TrapFrame,
177 Context->ContextFlags | ContextFlags,
179
180
185
186
188
189
191
192
194
195
198
199
201
202
204 }
205 else
206 {
207
211
212
215
216
218 {
219
222 }
223 else
224 {
225
228 }
229
230
232
233
236
237
239
240
242 }
243
244
248
249
253
254
256}
struct _KUINIT_FRAME * PKUINIT_FRAME
struct _KKINIT_FRAME * PKKINIT_FRAME
struct _KKINIT_FRAME KKINIT_FRAME
struct _KUINIT_FRAME KUINIT_FRAME
_In_opt_ PFILE_OBJECT _In_opt_ PETHREAD Thread
__in PVOID ContextPointer
#define KTRAP_FRAME_LENGTH
#define NPX_STATE_NOT_LOADED
struct _FXSAVE_FORMAT * PFXSAVE_FORMAT
#define CONTEXT_FLOATING_POINT
VOID NTAPI KiThreadStartup(VOID)
VOID NTAPI KeContextToTrapFrame(PCONTEXT Context, PKEXCEPTION_FRAME ExeptionFrame, PKTRAP_FRAME TrapFrame, ULONG ContextFlags, KPROCESSOR_MODE PreviousMode)
#define CONTEXT_EXTENDED_REGISTERS
union _FX_SAVE_AREA::@2458 U
KSWITCH_FRAME CtxSwitchFrame
PKSYSTEM_ROUTINE SystemRoutine
PKSTART_ROUTINE StartRoutine
ULONG PreviousPreviousMode
struct _EXCEPTION_REGISTRATION_RECORD FAR * ExceptionList
KSWITCH_FRAME CtxSwitchFrame
#define RtlCopyMemory(Destination, Source, Length)
#define RtlZeroMemory(Destination, Length)
_In_ ULONG _In_opt_ POBJECT_ATTRIBUTES _In_opt_ HANDLE _Out_opt_ PCLIENT_ID _In_ PKSTART_ROUTINE StartRoutine