summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/frame.h
diff options
context:
space:
mode:
authorluoqi <luoqi@FreeBSD.org>1999-05-11 16:29:21 +0000
committerluoqi <luoqi@FreeBSD.org>1999-05-11 16:29:21 +0000
commit05e390eef7e448a3fea840716766502700cf0359 (patch)
tree1a5d42c282dd04a4ede62ad095aa700b65512a71 /sys/amd64/include/frame.h
parentb661ab30e39917846b890dde659939e783fc490b (diff)
downloadFreeBSD-src-05e390eef7e448a3fea840716766502700cf0359.zip
FreeBSD-src-05e390eef7e448a3fea840716766502700cf0359.tar.gz
Yet another place I missed when increasing trapframe size, which causes problem
to SIGFPE handling. Reviewed by: Bruce Evans <bde@zeta.org.au>
Diffstat (limited to 'sys/amd64/include/frame.h')
-rw-r--r--sys/amd64/include/frame.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/amd64/include/frame.h b/sys/amd64/include/frame.h
index 7d70c14..5c0dcda 100644
--- a/sys/amd64/include/frame.h
+++ b/sys/amd64/include/frame.h
@@ -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_ */
OpenPOWER on IntegriCloud