about summary refs log tree commit diff
path: root/REORG.TODO/sysdeps/unix/sysv/linux/m68k/m680x0/ucontext_i.sym
diff options
context:
space:
mode:
Diffstat (limited to 'REORG.TODO/sysdeps/unix/sysv/linux/m68k/m680x0/ucontext_i.sym')
-rw-r--r--REORG.TODO/sysdeps/unix/sysv/linux/m68k/m680x0/ucontext_i.sym20
1 files changed, 20 insertions, 0 deletions
diff --git a/REORG.TODO/sysdeps/unix/sysv/linux/m68k/m680x0/ucontext_i.sym b/REORG.TODO/sysdeps/unix/sysv/linux/m68k/m680x0/ucontext_i.sym
new file mode 100644
index 0000000000..46bd4bf15f
--- /dev/null
+++ b/REORG.TODO/sysdeps/unix/sysv/linux/m68k/m680x0/ucontext_i.sym
@@ -0,0 +1,20 @@
+#include <stddef.h>
+#include <signal.h>
+#include <sys/ucontext.h>
+
+--
+
+SIG_SETMASK
+
+#define ucontext(member)	offsetof (ucontext_t, member)
+#define mcontext(member)	ucontext (uc_mcontext.member)
+
+oLINK		ucontext (uc_link)
+oSS_SP		ucontext (uc_stack.ss_sp)
+oSS_SIZE	ucontext (uc_stack.ss_size)
+oGREGS		mcontext (gregs)
+oSP		mcontext (gregs[R_SP])
+oPC		mcontext (gregs[R_PC])
+oFPREGS		mcontext (fpregs)
+oFP2		mcontext (fpregs.f_fpregs[2])
+oSIGMASK	ucontext (uc_sigmask)