summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/fpu.h
diff options
context:
space:
mode:
authorats <ats@FreeBSD.org>1994-08-14 23:32:45 +0000
committerats <ats@FreeBSD.org>1994-08-14 23:32:45 +0000
commit95ac71623b852399d3de5d3df679b3a575f594ee (patch)
tree5b06583868ba8cdd4803b236cc97cc89cbef81c4 /sys/amd64/include/fpu.h
parent1f2a4857544f69d88c57b47ff08fdc0661af3ffc (diff)
downloadFreeBSD-src-95ac71623b852399d3de5d3df679b3a575f594ee.zip
FreeBSD-src-95ac71623b852399d3de5d3df679b3a575f594ee.tar.gz
Submitted by: Bruce Evans
Delete the ifdef GPL_EMULATE case here and made the padding work for both types of emulators so that there is no longer a need to compile ps and friends new if you are using the GPL math emulator instead the normal one.
Diffstat (limited to 'sys/amd64/include/fpu.h')
-rw-r--r--sys/amd64/include/fpu.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/sys/amd64/include/fpu.h b/sys/amd64/include/fpu.h
index 87cd6f9..66d44cc 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: npx.h,v 1.2 1993/10/16 14:39:22 rgrimes Exp $
+ * $Id: npx.h,v 1.3 1994/04/29 21:44:23 gclarkii Exp $
*/
/*
@@ -75,11 +75,9 @@ struct save87 {
struct fpacc87 sv_ac[8]; /* accumulator contents, 0-7 */
u_long sv_ex_sw; /* status word for last exception (was pad) */
u_long sv_ex_tw; /* tag word for last exception (was pad) */
-#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 */
+ u_char sv_pad[60]; /* needed for the GPL math emulator */
+ /* the whole length of this structure
+ must match i387_union */
};
/* Cyrix EMC memory - mapped coprocessor context switch information */
OpenPOWER on IntegriCloud