summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/ucontext.h
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>2002-10-04 14:50:55 +0000
committerdeischen <deischen@FreeBSD.org>2002-10-04 14:50:55 +0000
commit6bcd2dc9e022006dbb1b3ada2b0729c25ca3acd6 (patch)
tree3020d97c8745c3f94c8537fee09c69fad9da4221 /sys/amd64/include/ucontext.h
parent86b70d31d68020b42d10fcf161a4a76077c34fda (diff)
downloadFreeBSD-src-6bcd2dc9e022006dbb1b3ada2b0729c25ca3acd6.zip
FreeBSD-src-6bcd2dc9e022006dbb1b3ada2b0729c25ca3acd6.tar.gz
Add another temporary hack to allow running older i386 binaries.
This will be removed when new versions of syscalls sigreturn() and sigaction() are added (mini is working on this but is in the middle of a move). This should fix the problem of cvsupd dying.
Diffstat (limited to 'sys/amd64/include/ucontext.h')
-rw-r--r--sys/amd64/include/ucontext.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/amd64/include/ucontext.h b/sys/amd64/include/ucontext.h
index 1739818..d02959c 100644
--- a/sys/amd64/include/ucontext.h
+++ b/sys/amd64/include/ucontext.h
@@ -59,13 +59,13 @@ typedef struct __mcontext {
int mc_ss;
int mc_len; /* sizeof(mcontext_t) */
-#define _MC_FPFMT_NODEV 0 /* device not present or configured */
-#define _MC_FPFMT_387 1
-#define _MC_FPFMT_XMM 2
+#define _MC_FPFMT_NODEV 0x10000 /* device not present or configured */
+#define _MC_FPFMT_387 0x10001
+#define _MC_FPFMT_XMM 0x10002
int mc_fpformat;
-#define _MC_FPOWNED_NONE 0 /* FP state not used */
-#define _MC_FPOWNED_FPU 1 /* FP state came from FPU */
-#define _MC_FPOWNED_PCB 2 /* FP state came from PCB */
+#define _MC_FPOWNED_NONE 0x20000 /* FP state not used */
+#define _MC_FPOWNED_FPU 0x20001 /* FP state came from FPU */
+#define _MC_FPOWNED_PCB 0x20002 /* FP state came from PCB */
int mc_ownedfp;
int mc_spare1[1]; /* align next field to 16 bytes */
int mc_fpstate[128]; /* must be multiple of 16 bytes */
OpenPOWER on IntegriCloud