summaryrefslogtreecommitdiffstats
path: root/sys/arch/i386/include/frame.h
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2016-02-26 09:29:20 +0000
committermpi <mpi@openbsd.org>2016-02-26 09:29:20 +0000
commit76c36b79aa5dcb71b1afca3631274db7fe0344dc (patch)
treef758b73307849f108d4178e6a654bdedbef4b495 /sys/arch/i386/include/frame.h
parentRemove stale RAIDframe entries from chrtoblktbl. (diff)
downloadwireguard-openbsd-76c36b79aa5dcb71b1afca3631274db7fe0344dc.tar.xz
wireguard-openbsd-76c36b79aa5dcb71b1afca3631274db7fe0344dc.zip
Rename and move x86 calllframe definitions in <machine/frame.h> to use
it in MI code. ok mlarkin@, visa@
Diffstat (limited to 'sys/arch/i386/include/frame.h')
-rw-r--r--sys/arch/i386/include/frame.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/i386/include/frame.h b/sys/arch/i386/include/frame.h
index a1bc4ceba8a..2220c30b7d3 100644
--- a/sys/arch/i386/include/frame.h
+++ b/sys/arch/i386/include/frame.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: frame.h,v 1.10 2010/07/03 04:54:32 kettenis Exp $ */
+/* $OpenBSD: frame.h,v 1.11 2016/02/26 09:29:20 mpi Exp $ */
/* $NetBSD: frame.h,v 1.12 1995/10/11 04:20:08 mycroft Exp $ */
/*-
@@ -112,6 +112,12 @@ struct switchframe {
int sf_eip;
};
+struct callframe {
+ struct callframe *f_frame;
+ int f_retaddr;
+ int f_arg0;
+};
+
/*
* Signal frame
*/