diff options
author | das <das@FreeBSD.org> | 2005-03-17 22:21:36 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2005-03-17 22:21:36 +0000 |
commit | 148ae38eee2646f9d2d22da1a63f0b571335fc28 (patch) | |
tree | 02d672fc466df122f7cc51b42bad867abbacc25b /sys/i386/include | |
parent | 8435db4dc6c0ca01c1b393e6d924363df25ca227 (diff) | |
download | FreeBSD-src-148ae38eee2646f9d2d22da1a63f0b571335fc28.zip FreeBSD-src-148ae38eee2646f9d2d22da1a63f0b571335fc28.tar.gz |
Initialize the mxcsr properly, so the initial value in a process isn't
just the value that was left over from some other application.
Diffstat (limited to 'sys/i386/include')
-rw-r--r-- | sys/i386/include/npx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/i386/include/npx.h b/sys/i386/include/npx.h index 27e5dd7..484061e 100644 --- a/sys/i386/include/npx.h +++ b/sys/i386/include/npx.h @@ -134,6 +134,7 @@ union savefpu { * intermediate values are stored in memory or in FPU registers. */ #define __INITIAL_NPXCW__ 0x127F +#define __INITIAL_MXCSR__ 0x1F80 #ifdef _KERNEL int npxdna(void); |