Home
last modified time | relevance | path

Searched refs:FloatSave (Results 1 – 20 of 20) sorted by relevance

/reactos/modules/rostests/kmtests/ntos_ke/
H A DKeFloatPointState.c13 KFLOATING_SAVE FloatSave; in START_TEST() local
17 Status = KeSaveFloatingPointState(&FloatSave); in START_TEST()
22 KeRestoreFloatingPointState(&FloatSave); in START_TEST()
28 Status = KeSaveFloatingPointState(&FloatSave); in START_TEST()
33 KeRestoreFloatingPointState(&FloatSave); in START_TEST()
40 Status = KeSaveFloatingPointState(&FloatSave); in START_TEST()
45 KeRestoreFloatingPointState(&FloatSave); in START_TEST()
/reactos/ntoskrnl/ke/i386/
H A Dexp.c476 KiTagWordFnsaveToFxsave((USHORT)Context->FloatSave.TagWord); in KeContextToTrapFrame()
492 Context->FloatSave.RegisterArea + (i * 10), in KeContextToTrapFrame()
501 FxSaveArea->U.FnArea.TagWord = Context->FloatSave.TagWord; in KeContextToTrapFrame()
704 Context->FloatSave.ControlWord = FloatSaveArea->ControlWord; in KeTrapFrameToContext()
705 Context->FloatSave.StatusWord = FloatSaveArea->StatusWord; in KeTrapFrameToContext()
706 Context->FloatSave.TagWord = FloatSaveArea->TagWord; in KeTrapFrameToContext()
707 Context->FloatSave.ErrorOffset = FloatSaveArea->ErrorOffset; in KeTrapFrameToContext()
708 Context->FloatSave.ErrorSelector = FloatSaveArea->ErrorSelector; in KeTrapFrameToContext()
709 Context->FloatSave.DataOffset = FloatSaveArea->DataOffset; in KeTrapFrameToContext()
710 Context->FloatSave.DataSelector = FloatSaveArea->DataSelector; in KeTrapFrameToContext()
[all …]
H A Dthrdini.c146 Context->FloatSave.ControlWord = 0x27F; in KiInitializeContextThread()
147 Context->FloatSave.StatusWord = 0; in KiInitializeContextThread()
148 Context->FloatSave.TagWord = -1; in KiInitializeContextThread()
149 Context->FloatSave.ErrorOffset = 0; in KiInitializeContextThread()
150 Context->FloatSave.ErrorSelector = 0; in KiInitializeContextThread()
151 Context->FloatSave.DataOffset =0; in KiInitializeContextThread()
152 Context->FloatSave.DataSelector = 0; in KiInitializeContextThread()
156 Context->FloatSave.Cr0NpxState = 0; in KiInitializeContextThread()
/reactos/drivers/base/kdgdb/
H A Di386_sup.c56 return &ctx->FloatSave.RegisterArea[10 * (name - ST0)]; in ctx_to_reg()
58 case FCTRL: return &ctx->FloatSave.ControlWord; in ctx_to_reg()
59 case FSTAT: return &ctx->FloatSave.StatusWord; in ctx_to_reg()
60 case FTAG: return &ctx->FloatSave.TagWord; in ctx_to_reg()
61 case FISEG: return &ctx->FloatSave.DataSelector; in ctx_to_reg()
62 case FIOFF: return &ctx->FloatSave.DataOffset; in ctx_to_reg()
63 case FOSEG: return &ctx->FloatSave.ErrorSelector; in ctx_to_reg()
64 case FOOFF: return &ctx->FloatSave.ErrorOffset; in ctx_to_reg()
65 case FOP: return &ctx->FloatSave.Cr0NpxState; in ctx_to_reg()
/reactos/sdk/include/ddk/
H A Dfltsafe.h3 KFLOATING_SAVE FloatSave; member
6 ntStatus = KeSaveFloatingPointState(&FloatSave); in FLOATSAFE()
10 KeRestoreFloatingPointState(&FloatSave); in ~FLOATSAFE()
/reactos/dll/win32/dbghelp/
H A Dcpu_i386.c588 case CV_REG_ST0 + 0: *size = 10; return &ctx->FloatSave.RegisterArea[0*10]; in i386_fetch_context_reg()
589 case CV_REG_ST0 + 1: *size = 10; return &ctx->FloatSave.RegisterArea[1*10]; in i386_fetch_context_reg()
590 case CV_REG_ST0 + 2: *size = 10; return &ctx->FloatSave.RegisterArea[2*10]; in i386_fetch_context_reg()
591 case CV_REG_ST0 + 3: *size = 10; return &ctx->FloatSave.RegisterArea[3*10]; in i386_fetch_context_reg()
592 case CV_REG_ST0 + 4: *size = 10; return &ctx->FloatSave.RegisterArea[4*10]; in i386_fetch_context_reg()
593 case CV_REG_ST0 + 5: *size = 10; return &ctx->FloatSave.RegisterArea[5*10]; in i386_fetch_context_reg()
594 case CV_REG_ST0 + 6: *size = 10; return &ctx->FloatSave.RegisterArea[6*10]; in i386_fetch_context_reg()
595 case CV_REG_ST0 + 7: *size = 10; return &ctx->FloatSave.RegisterArea[7*10]; in i386_fetch_context_reg()
598 case CV_REG_STAT: *size = sizeof(DWORD); return &ctx->FloatSave.StatusWord; in i386_fetch_context_reg()
599 case CV_REG_TAG: *size = sizeof(DWORD); return &ctx->FloatSave.TagWord; in i386_fetch_context_reg()
[all …]
H A Dcompat.h262 WOW64_FLOATING_SAVE_AREA FloatSave; member
320 FLOATING_SAVE_AREA FloatSave; member
/reactos/sdk/include/xdk/amd64/
H A Dke.h137 _At_(*FloatSave, _Kernel_requires_resource_not_held_(FloatState) _Kernel_acquires_resource_(FloatSt… in _IRQL_requires_max_()
141 _Out_ PKFLOATING_SAVE FloatSave) in _IRQL_requires_max_()
143 UNREFERENCED_PARAMETER(FloatSave); in _IRQL_requires_max_()
149 _At_(*FloatSave, _Kernel_requires_resource_held_(FloatState) _Kernel_releases_resource_(FloatState))
153 _In_ PKFLOATING_SAVE FloatSave) in KeRestoreFloatingPointState() argument
155 UNREFERENCED_PARAMETER(FloatSave); in KeRestoreFloatingPointState()
/reactos/sdk/include/xdk/arm/
H A Dke.h146 _At_(*FloatSave, _Kernel_requires_resource_not_held_(FloatState) _Kernel_acquires_resource_(FloatSt… in _IRQL_requires_max_()
150 _Out_ PKFLOATING_SAVE FloatSave) in _IRQL_requires_max_()
152 UNREFERENCED_PARAMETER(FloatSave); in _IRQL_requires_max_()
158 _At_(*FloatSave, _Kernel_requires_resource_held_(FloatState) _Kernel_releases_resource_(FloatState))
162 _In_ PKFLOATING_SAVE FloatSave) in KeRestoreFloatingPointState() argument
164 UNREFERENCED_PARAMETER(FloatSave); in KeRestoreFloatingPointState()
/reactos/sdk/include/xdk/x86/
H A Dke.h156 _At_(*FloatSave, _Kernel_requires_resource_not_held_(FloatState) _Kernel_acquires_resource_(FloatSt…
161 _Out_ PKFLOATING_SAVE FloatSave);
165 _At_(*FloatSave, _Kernel_requires_resource_held_(FloatState) _Kernel_releases_resource_(FloatState))
170 _In_ PKFLOATING_SAVE FloatSave);
265 FLOATING_SAVE_AREA FloatSave; member
/reactos/win32ss/gdi/ntgdi/
H A Darc.c312 KFLOATING_SAVE FloatSave; in NtGdiAngleArc() local
322 status = KeSaveFloatingPointState(&FloatSave); in NtGdiAngleArc()
340 KeRestoreFloatingPointState(&FloatSave); in NtGdiAngleArc()
361 KFLOATING_SAVE FloatSave; in NtGdiArcInternal() local
385 status = KeSaveFloatingPointState(&FloatSave); in NtGdiArcInternal()
404 KeRestoreFloatingPointState(&FloatSave); in NtGdiArcInternal()
/reactos/drivers/wdm/audio/filters/kmixer/
H A Dpin.c29 KFLOATING_SAVE FloatSave; in PerformSampleRateConversion() local
45 Status = KeSaveFloatingPointState(&FloatSave); in PerformSampleRateConversion()
58 KeRestoreFloatingPointState(&FloatSave); in PerformSampleRateConversion()
68 KeRestoreFloatingPointState(&FloatSave); in PerformSampleRateConversion()
77 KeRestoreFloatingPointState(&FloatSave); in PerformSampleRateConversion()
85 KeRestoreFloatingPointState(&FloatSave); in PerformSampleRateConversion()
117 KeRestoreFloatingPointState(&FloatSave); in PerformSampleRateConversion()
150 KeRestoreFloatingPointState(&FloatSave); in PerformSampleRateConversion()
/reactos/dll/win32/kernel32/client/
H A Dutils.c564 Context->FloatSave.ControlWord = 0x27F; in BaseInitializeContext()
565 Context->FloatSave.StatusWord = 0; in BaseInitializeContext()
566 Context->FloatSave.TagWord = 0xFFFF; in BaseInitializeContext()
567 Context->FloatSave.ErrorOffset = 0; in BaseInitializeContext()
568 Context->FloatSave.ErrorSelector = 0; in BaseInitializeContext()
569 Context->FloatSave.DataOffset = 0; in BaseInitializeContext()
570 Context->FloatSave.DataSelector = 0; in BaseInitializeContext()
/reactos/subsystems/mvdm/ntvdm/cpu/
H A Dx86context.h96 X87FLOATING_SAVE_AREA FloatSave; member
H A Dregisters.c49 IntelRegPtr.FloatSave.ControlWord = EmulatorContext.FpuControl.Value; in getIntelRegistersPointer()
50 IntelRegPtr.FloatSave.StatusWord = EmulatorContext.FpuStatus.Value; in getIntelRegistersPointer()
/reactos/sdk/include/asm/
H A Dks386.template.h223 OFFSET(CsFloatSave, CONTEXT, FloatSave),
683 OFFSET(FIBER_CONTEXT_FLOAT_SAVE_CONTROL_WORD, FIBER, FiberContext.FloatSave.ControlWord),
684 OFFSET(FIBER_CONTEXT_FLOAT_SAVE_STATUS_WORD, FIBER, FiberContext.FloatSave.StatusWord),
685 OFFSET(FIBER_CONTEXT_FLOAT_SAVE_TAG_WORD, FIBER, FiberContext.FloatSave.TagWord),
/reactos/sdk/lib/crt/wine/
H A Dexcept_i386.c1143 FLOATING_SAVE_AREA *ctx = &ep->ContextRecord->FloatSave; in _fpieee_flt()
1184 TRACE("opcode: %x\n", *(ULONG*)ep->ContextRecord->FloatSave.ErrorOffset); in _fpieee_flt()
1210 FIXME("unsupported opcode: %x\n", *(ULONG*)ep->ContextRecord->FloatSave.ErrorOffset); in _fpieee_flt()
/reactos/drivers/filesystems/udfs/Include/
H A Dnt_native.h1446 FLOATING_SAVE_AREA FloatSave; member
/reactos/modules/rostests/winetests/kernel32/
H A Dprocess.c3256 … ok( (WORD)ctx.FloatSave.ControlWord == 0x27f, "wrong control %08x\n", ctx.FloatSave.ControlWord ); in test_SuspendProcessNewThread()
3420 … ok( (WORD)ctx.FloatSave.ControlWord == 0x27f, "wrong control %08x\n", ctx.FloatSave.ControlWord ); in test_SuspendProcessState()
/reactos/sdk/include/xdk/
H A Dwinnt_old.h1230 FLOATING_SAVE_AREA FloatSave; member
1632 FLOATING_SAVE_AREA FloatSave; member
2356 WOW64_FLOATING_SAVE_AREA FloatSave; member