cvs commit: src/sys/amd64/amd64 fpu.c

David Malone dwmalone at
Sun Jun 6 08:12:35 GMT 2004

On Fri, Jun 04, 2004 at 08:13:39PM -0700, David Schultz wrote:
>   Modified files:
>     sys/amd64/amd64      fpu.c 
>   Log:
>   Initialize the MXCSR to the appropriate default value at startup.

This seems to result in a "Fault trap 1: privileged instrustion
fault while in the kernel" while executing the ldmscsr instruction.
If I comment it out, everything works fine again.

>   Tested on:      tjr

This must be a situation where testing on humans is bad ;-)


More information about the cvs-src mailing list