summary refs log tree commit diff stats
path: root/linux-user/i386/vdso-asmoffset.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/i386/vdso-asmoffset.h')
-rw-r--r--linux-user/i386/vdso-asmoffset.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/linux-user/i386/vdso-asmoffset.h b/linux-user/i386/vdso-asmoffset.h
new file mode 100644
index 0000000000..4e5ee0dd49
--- /dev/null
+++ b/linux-user/i386/vdso-asmoffset.h
@@ -0,0 +1,6 @@
+/*
+ * offsetof(struct sigframe, sc.eip)
+ * offsetof(struct rt_sigframe, uc.tuc_mcontext.eip)
+ */
+#define SIGFRAME_SIGCONTEXT_eip      64
+#define RT_SIGFRAME_SIGCONTEXT_eip  220