Hi,
with one little change, your patch works perfect on my smp machine. It must
be changed a 'movl' to a 'movb':
movb $NPX_STATE_VALID, KTHREAD_NPX_STATE(%ebx)
I've expand your test program a little bit. It works now with four threads.
- Hartmut
-----Original Message-----
From: ros-dev-bounces(a)reactos.com
[mailto:ros-dev-bounces@reactos.com] On Behalf Of Gregor Anich
Sent: Tuesday, November 23, 2004 9:56 PM
To: ReactOS Development List
Subject: Re: [ros-dev] RE: [ros-diffs] [CVS reactos] FPU/SSE
state savingontaskswitching, FPU and SSE exception support.
Hello again!
Hartmut Birr wrote:
I've revert some parts of fpu.c to your first
patch. It
works now on my smp
machine.
I have attached a patch to this email, maybe you can try if it works
with this patch. It is a patch against current reactos CVS.
I didn't see diff which you attached to your mail the first
time, but it
looks like it's an old version of the fpu.c which I have modified...
maybe it doesn't bugcheck but I think it won't work (unless you have
also reverted tskswitch.S...)
I have also attached a fputest program which tests wether the
FPU state
is preserved or not.
- blight