summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorGary Clark II <gclarkii@FreeBSD.org>1994-04-29 21:44:23 +0000
committerGary Clark II <gclarkii@FreeBSD.org>1994-04-29 21:44:23 +0000
commit1099e6c189e3ac1e6f7a01185e324a6f1e6c530e (patch)
tree347acc03672de467e1d608a6bb00f2cc862efe9d /sys
parent9f82ad3dfbc375022229959ba5a16241de134d2c (diff)
downloadsrc-test2-1099e6c189e3ac1e6f7a01185e324a6f1e6c530e.tar.gz
src-test2-1099e6c189e3ac1e6f7a01185e324a6f1e6c530e.zip
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/include/fpu.h10
-rw-r--r--sys/amd64/include/npx.h10
-rw-r--r--sys/i386/include/npx.h10
3 files changed, 18 insertions, 12 deletions
diff --git a/sys/amd64/include/fpu.h b/sys/amd64/include/fpu.h
index eab64570a674..87cd6f97774e 100644
--- a/sys/amd64/include/fpu.h
+++ b/sys/amd64/include/fpu.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)npx.h 5.3 (Berkeley) 1/18/91
- * $Id$
+ * $Id: npx.h,v 1.2 1993/10/16 14:39:22 rgrimes Exp $
*/
/*
@@ -73,11 +73,13 @@ struct fpacc87 {
struct save87 {
struct env87 sv_env; /* floating point control/status */
struct fpacc87 sv_ac[8]; /* accumulator contents, 0-7 */
-#ifndef dontdef
u_long sv_ex_sw; /* status word for last exception (was pad) */
u_long sv_ex_tw; /* tag word for last exception (was pad) */
- u_char sv_pad[8 * 2 - 2 * 4]; /* bogus historical padding */
-#endif
+#ifdef GPL_MATH_EMULATE
+ u_char sv_pad[60];
+#else
+ u_char sv_pad[8 * 2 - 2 * 4]; /* bogus historical padding */
+#endif /* GPL_MATH_EMULATE */
};
/* Cyrix EMC memory - mapped coprocessor context switch information */
diff --git a/sys/amd64/include/npx.h b/sys/amd64/include/npx.h
index eab64570a674..87cd6f97774e 100644
--- a/sys/amd64/include/npx.h
+++ b/sys/amd64/include/npx.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)npx.h 5.3 (Berkeley) 1/18/91
- * $Id$
+ * $Id: npx.h,v 1.2 1993/10/16 14:39:22 rgrimes Exp $
*/
/*
@@ -73,11 +73,13 @@ struct fpacc87 {
struct save87 {
struct env87 sv_env; /* floating point control/status */
struct fpacc87 sv_ac[8]; /* accumulator contents, 0-7 */
-#ifndef dontdef
u_long sv_ex_sw; /* status word for last exception (was pad) */
u_long sv_ex_tw; /* tag word for last exception (was pad) */
- u_char sv_pad[8 * 2 - 2 * 4]; /* bogus historical padding */
-#endif
+#ifdef GPL_MATH_EMULATE
+ u_char sv_pad[60];
+#else
+ u_char sv_pad[8 * 2 - 2 * 4]; /* bogus historical padding */
+#endif /* GPL_MATH_EMULATE */
};
/* Cyrix EMC memory - mapped coprocessor context switch information */
diff --git a/sys/i386/include/npx.h b/sys/i386/include/npx.h
index eab64570a674..87cd6f97774e 100644
--- a/sys/i386/include/npx.h
+++ b/sys/i386/include/npx.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)npx.h 5.3 (Berkeley) 1/18/91
- * $Id$
+ * $Id: npx.h,v 1.2 1993/10/16 14:39:22 rgrimes Exp $
*/
/*
@@ -73,11 +73,13 @@ struct fpacc87 {
struct save87 {
struct env87 sv_env; /* floating point control/status */
struct fpacc87 sv_ac[8]; /* accumulator contents, 0-7 */
-#ifndef dontdef
u_long sv_ex_sw; /* status word for last exception (was pad) */
u_long sv_ex_tw; /* tag word for last exception (was pad) */
- u_char sv_pad[8 * 2 - 2 * 4]; /* bogus historical padding */
-#endif
+#ifdef GPL_MATH_EMULATE
+ u_char sv_pad[60];
+#else
+ u_char sv_pad[8 * 2 - 2 * 4]; /* bogus historical padding */
+#endif /* GPL_MATH_EMULATE */
};
/* Cyrix EMC memory - mapped coprocessor context switch information */