aboutsummaryrefslogtreecommitdiff
path: root/linux-user/i386/vdso-asmoffset.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2021-07-01 12:07:44 -0700
committerRichard Henderson <richard.henderson@linaro.org>2023-10-30 13:41:55 -0700
commita1367443bac790c8385aca008f4b3bf9eaa8c137 (patch)
tree52aae9bbbcc814011052f541ab7339ad73b47b03 /linux-user/i386/vdso-asmoffset.h
parent2fa536d1079772983b935ac86395a41adc391754 (diff)
downloadqemu-a1367443bac790c8385aca008f4b3bf9eaa8c137.zip
qemu-a1367443bac790c8385aca008f4b3bf9eaa8c137.tar.gz
qemu-a1367443bac790c8385aca008f4b3bf9eaa8c137.tar.bz2
linux-user/i386: Add vdso
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1267 Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
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 0000000..4e5ee0d
--- /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