mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 08:22:44 +00:00
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.
This commit is contained in:
parent
5e687d014e
commit
021d975d03
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2071
@ -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 */
|
||||
|
@ -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 */
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user