Yet another place I missed when increasing trapframe size, which causes problem
to SIGFPE handling. Reviewed by: Bruce Evans <bde@zeta.org.au>
This commit is contained in:
parent
e2bd2a1bb7
commit
cd121c9cae
@ -32,7 +32,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)npx.c 7.2 (Berkeley) 5/12/91
|
||||
* $Id: npx.c,v 1.70 1999/05/08 18:14:09 peter Exp $
|
||||
* $Id: npx.c,v 1.71 1999/05/08 21:59:27 dfr Exp $
|
||||
*/
|
||||
|
||||
#include "npx.h"
|
||||
@ -548,7 +548,7 @@ npx_intr(dummy)
|
||||
* in doreti, and the frame for that could easily be set up
|
||||
* just before it is used).
|
||||
*/
|
||||
curproc->p_md.md_regs = (struct trapframe *)&frame->if_es;
|
||||
curproc->p_md.md_regs = INTR_TO_TRAPFRAME(frame);
|
||||
#ifdef notyet
|
||||
/*
|
||||
* Encode the appropriate code for detailed information on
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)frame.h 5.2 (Berkeley) 1/18/91
|
||||
* $Id: frame.h,v 1.15 1997/08/09 00:03:12 dyson Exp $
|
||||
* $Id: frame.h,v 1.16 1999/04/28 01:03:59 luoqi Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_FRAME_H_
|
||||
@ -172,4 +172,6 @@ struct sigframe {
|
||||
int kdb_trap __P((int, int, struct trapframe *));
|
||||
extern int (*pmath_emulate) __P((struct trapframe *));
|
||||
|
||||
#define INTR_TO_TRAPFRAME(frame) ((struct trapframe *)&(frame)->if_fs)
|
||||
|
||||
#endif /* _MACHINE_FRAME_H_ */
|
||||
|
@ -32,7 +32,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)npx.c 7.2 (Berkeley) 5/12/91
|
||||
* $Id: npx.c,v 1.70 1999/05/08 18:14:09 peter Exp $
|
||||
* $Id: npx.c,v 1.71 1999/05/08 21:59:27 dfr Exp $
|
||||
*/
|
||||
|
||||
#include "npx.h"
|
||||
@ -548,7 +548,7 @@ npx_intr(dummy)
|
||||
* in doreti, and the frame for that could easily be set up
|
||||
* just before it is used).
|
||||
*/
|
||||
curproc->p_md.md_regs = (struct trapframe *)&frame->if_es;
|
||||
curproc->p_md.md_regs = INTR_TO_TRAPFRAME(frame);
|
||||
#ifdef notyet
|
||||
/*
|
||||
* Encode the appropriate code for detailed information on
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)frame.h 5.2 (Berkeley) 1/18/91
|
||||
* $Id: frame.h,v 1.15 1997/08/09 00:03:12 dyson Exp $
|
||||
* $Id: frame.h,v 1.16 1999/04/28 01:03:59 luoqi Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_FRAME_H_
|
||||
@ -172,4 +172,6 @@ struct sigframe {
|
||||
int kdb_trap __P((int, int, struct trapframe *));
|
||||
extern int (*pmath_emulate) __P((struct trapframe *));
|
||||
|
||||
#define INTR_TO_TRAPFRAME(frame) ((struct trapframe *)&(frame)->if_fs)
|
||||
|
||||
#endif /* _MACHINE_FRAME_H_ */
|
||||
|
@ -32,7 +32,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)npx.c 7.2 (Berkeley) 5/12/91
|
||||
* $Id: npx.c,v 1.70 1999/05/08 18:14:09 peter Exp $
|
||||
* $Id: npx.c,v 1.71 1999/05/08 21:59:27 dfr Exp $
|
||||
*/
|
||||
|
||||
#include "npx.h"
|
||||
@ -548,7 +548,7 @@ npx_intr(dummy)
|
||||
* in doreti, and the frame for that could easily be set up
|
||||
* just before it is used).
|
||||
*/
|
||||
curproc->p_md.md_regs = (struct trapframe *)&frame->if_es;
|
||||
curproc->p_md.md_regs = INTR_TO_TRAPFRAME(frame);
|
||||
#ifdef notyet
|
||||
/*
|
||||
* Encode the appropriate code for detailed information on
|
||||
|
@ -32,7 +32,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)npx.c 7.2 (Berkeley) 5/12/91
|
||||
* $Id: npx.c,v 1.44 1999/04/18 14:42:17 kato Exp $
|
||||
* $Id: npx.c,v 1.45 1999/05/09 04:38:27 kato Exp $
|
||||
*/
|
||||
|
||||
#include "npx.h"
|
||||
@ -611,7 +611,7 @@ npx_intr(dummy)
|
||||
* in doreti, and the frame for that could easily be set up
|
||||
* just before it is used).
|
||||
*/
|
||||
curproc->p_md.md_regs = (struct trapframe *)&frame->if_es;
|
||||
curproc->p_md.md_regs = INTR_TO_TRAPFRAME(frame);
|
||||
#ifdef notyet
|
||||
/*
|
||||
* Encode the appropriate code for detailed information on
|
||||
|
Loading…
x
Reference in New Issue
Block a user