aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/include/frame.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/include/frame.h')
-rw-r--r--sys/i386/include/frame.h35
1 files changed, 8 insertions, 27 deletions
diff --git a/sys/i386/include/frame.h b/sys/i386/include/frame.h
index 4a844dce209b..4b031dcf708e 100644
--- a/sys/i386/include/frame.h
+++ b/sys/i386/include/frame.h
@@ -34,9 +34,12 @@
* SUCH DAMAGE.
*
* from: @(#)frame.h 5.2 (Berkeley) 1/18/91
- * $Id: frame.h,v 1.2 1993/10/08 20:50:59 rgrimes Exp $
+ * $Id: frame.h,v 1.8 1994/01/31 10:27:09 davidg Exp $
*/
+#ifndef _MACHINE_FRAME_H_
+#define _MACHINE_FRAME_H_ 1
+
#include <sys/signal.h>
/*
@@ -69,6 +72,8 @@ struct trapframe {
int tf_ss;
};
+extern int kdb_trap(int, int, struct trapframe *);
+
/* Interrupt stack frame */
struct intrframe {
@@ -102,32 +107,8 @@ struct sigframe {
int sf_signum;
int sf_code;
struct sigcontext *sf_scp;
+ char *sf_addr;
sig_t sf_handler;
- int sf_eax;
- int sf_edx;
- int sf_ecx;
struct sigcontext sf_sc;
-} ;
-
-/*
- * Call Gate/System Call Stack Frame
- */
-
-struct syscframe {
- int sf_edi;
- int sf_esi;
- int sf_ebp;
- int :32; /* redundant save of isp */
- int sf_ebx;
- int sf_edx;
- int sf_ecx;
- int sf_eax;
- int sf_eflags;
- /* below portion defined in 386 hardware */
-/* int sf_args[N]; /* if call gate copy args enabled!*/
- int sf_eip;
- int sf_cs;
- /* below only when transitting rings (e.g. user to kernel) */
- int sf_esp;
- int sf_ss;
};
+#endif /* _MACHINE_FRAME_H_ */