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:
Andreas Schulz 1994-08-14 23:32:45 +00:00
parent 5e687d014e
commit 021d975d03
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2071
3 changed files with 12 additions and 18 deletions

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */