Hello.
As common, when the device finish transfering block of data it
generates interrupt to say it's done. Just right after I have to
calculate some specific values and I need a few FPU commands. I do it
in a DPC and use the following commands
static char FPUContext[108];
...
fnsave [FPUContext] ; save FPU environment,
; data registers and do finit
fild
fld
fdivp
fimul
fistp
frstor [FPUContext] ;restore FPU environment and data registers
...
The question is am I alowed to do it in DPC under XP (I know that
under NT it is impossible due to bugs of context switch) or I have to
do it in a some kernel thread created earlier ?
P.S. After some time (an hour, a day) of device working I see various
BSOD...
Thanks in advance.