I was noted that I forgot to also apply the same fix to the KeRestoreFloatingPointState function.

Also, for reference: r23894 contained working implemnentations in fpu.c. In r23895 ion "moved" it to cpu.c, killing the MSVC implementation in the process. In 23972, ion added new MSVC code for it, but this new version had the bug. It has remained undiscovered until very recently.

svn path=/trunk/; revision=63391
This commit is contained in:
David Quintana 2014-05-20 22:51:38 +00:00
parent c71be46956
commit 6a96b1732b

View file

@ -1459,7 +1459,8 @@ KeRestoreFloatingPointState(IN PKFLOATING_SAVE Save)
__asm
{
fnclex
frstor [FpState]
mov eax, [FpState]
frstor [eax]
};
#endif