summaryrefslogtreecommitdiff
path: root/sys/amd64/include/ucontext.h
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>1999-10-07 12:40:34 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>1999-10-07 12:40:34 +0000
commit210430fd8dfe9d1097cc0d5b59887ad3b18dc0c0 (patch)
tree17dd57060d638ebac64bd97ef1fb350b6a051bbf /sys/amd64/include/ucontext.h
parentf05e3aac6ff70aa5164c943b3ed63d9408e4532d (diff)
Notes
Diffstat (limited to 'sys/amd64/include/ucontext.h')
-rw-r--r--sys/amd64/include/ucontext.h21
1 files changed, 19 insertions, 2 deletions
diff --git a/sys/amd64/include/ucontext.h b/sys/amd64/include/ucontext.h
index 0d7271621232..6397a31a309a 100644
--- a/sys/amd64/include/ucontext.h
+++ b/sys/amd64/include/ucontext.h
@@ -35,13 +35,30 @@
typedef struct __mcontext {
/*
- * The first 3 fields must match the definition of
+ * The first 20 fields must match the definition of
* sigcontext. So that we can support sigcontext
* and ucontext_t at the same time.
*/
int mc_onstack; /* XXX - sigcontext compat. */
int mc_gs;
- struct trapframe mc_tf;
+ int mc_fs;
+ int mc_es;
+ int mc_ds;
+ int mc_edi;
+ int mc_esi;
+ int mc_ebp;
+ int mc_isp;
+ int mc_ebx;
+ int mc_edx;
+ int mc_ecx;
+ int mc_eax;
+ int mc_trapno;
+ int mc_err;
+ int mc_eip;
+ int mc_cs;
+ int mc_eflags;
+ int mc_esp; /* machine state */
+ int mc_ss;
int mc_fpregs[28]; /* env87 + fpacc87 + u_long */
int __spare__[17];