summaryrefslogtreecommitdiffstats
path: root/sys/i386/include
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2005-03-17 22:21:36 +0000
committerdas <das@FreeBSD.org>2005-03-17 22:21:36 +0000
commit148ae38eee2646f9d2d22da1a63f0b571335fc28 (patch)
tree02d672fc466df122f7cc51b42bad867abbacc25b /sys/i386/include
parent8435db4dc6c0ca01c1b393e6d924363df25ca227 (diff)
downloadFreeBSD-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.h1
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);
OpenPOWER on IntegriCloud