freebsd-skq/sys/powerpc
Doug Rabson 62a50bfa38 Re-organise the code which manages the owner of the FP state (fpcurproc).
The old code was spread out through the machdep code and was sloppy about
enabling and disabling the FEN bit (which controls access to the FP
register set). This caused a DIAGNOSTIC warning "DANGER WILL ROBINSON:
FEN SET IN cpu_fork!" sometimes when operating under high loads and could
conceivably lead to processes getting incorrect FP results.

The new code is much more strict about the FEN bit and makes sure that
*only* fpcurproc ever has it enabled. This also allows us to remove a
section of code from the exception_return path which might improve
performance marginally.

Reviewed by: gallatin
1999-11-10 21:14:25 +00:00
..
aim Re-organise the code which manages the owner of the FP state (fpcurproc). 1999-11-10 21:14:25 +00:00
include * Implement bus_set/get/delete_resource for pci. 1999-10-14 21:38:33 +00:00
powerpc Re-organise the code which manages the owner of the FP state (fpcurproc). 1999-11-10 21:14:25 +00:00