At 15.21 04/11/2004, you wrote:
1) Use KeSave/RestoreFloatingState() in KM when FPU is
used.
both this...
2) Compile kernel-mode code with soft-fpu switch to
make the compiler call
a softfpu lib instead of using the x87
... and this. We ARE dealing with internal and undocumented parts, so we
should be relatively free, but win32k needs to implement FPU emulation
(FLOATOBJ) anyway. If it's an option to use FLOATOBJ throughout, it would
be best. Otherwise, please remember KeSave/RestoreFloatingState