summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/frame.h
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1993-10-08 20:51:00 +0000
committerrgrimes <rgrimes@FreeBSD.org>1993-10-08 20:51:00 +0000
commit4cea6b395d96b7a1365b9c60afb5ab028395acb6 (patch)
treeb58e093f974506172365dd9286d3d54c320f6782 /sys/i386/include/frame.h
parent5fac13f72b16d267a44fc687b2b5fa89587af849 (diff)
downloadFreeBSD-src-4cea6b395d96b7a1365b9c60afb5ab028395acb6.zip
FreeBSD-src-4cea6b395d96b7a1365b9c60afb5ab028395acb6.tar.gz
All:
Remove patch kit headers, and add $Id$ This is mostly to align some more code with NetBSD. cpu.h: Remove the old function vs. include configuration stuff that was ifdefed out when we went to inline functions. Remove the define of resettodr that made it a nop, there is already a function that makes it a nop, no need to #define one. Remove the #defines of processor types, they are now defined in cputypes.h, #include that file. Add struct cpu_nameclass for support of cpu types. frame.h: include sys/signal.h, it will be needed in the future. put the sigframe structure here that was in machdep.c pcb.h: Add multiple inclusion protection. Add pcb_ldt and pcb_ldt_len to pcb structure, this is for the user mode ldt.
Diffstat (limited to 'sys/i386/include/frame.h')
-rw-r--r--sys/i386/include/frame.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/sys/i386/include/frame.h b/sys/i386/include/frame.h
index 4dbabd1..250e5c5 100644
--- a/sys/i386/include/frame.h
+++ b/sys/i386/include/frame.h
@@ -33,9 +33,12 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * @(#)frame.h 5.2 (Berkeley) 1/18/91
+ * from: @(#)frame.h 5.2 (Berkeley) 1/18/91
+ * $Id$
*/
+#include <sys/signal.h>
+
/*
* System stack frames.
*/
@@ -93,6 +96,20 @@ struct intrframe {
};
/*
+ * Signal frame
+ */
+struct sigframe {
+ int sf_signum;
+ int sf_code;
+ struct sigcontext *sf_scp;
+ sig_t sf_handler;
+ int sf_eax;
+ int sf_edx;
+ int sf_ecx;
+ struct sigcontext sf_sc;
+} ;
+
+/*
* Call Gate/System Call Stack Frame
*/
OpenPOWER on IntegriCloud