Konstantin Belousov 997534958e Use critical sections instead of disabling local interrupts to ensure
the consistency between PCPU fpcurthread and the state of the FPU.

Explicitely assert that the calling conventions for fpudrop() are
adhered too. In cpu_thread_exit(), add missed critical section entrance.

Reviewed by:	bde
Tested by:	pho
MFC after:	1 month
2010-06-15 09:19:33 +00:00
..
2010-06-14 17:02:19 +00:00
2010-06-12 12:19:08 +00:00
2010-05-24 16:41:05 +00:00
2010-06-02 17:27:23 +00:00
2010-05-24 16:27:47 +00:00