aboutsummaryrefslogtreecommitdiff
path: root/linux-user/hppa/vdso-asmoffset.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2021-06-18 12:01:52 -0700
committerRichard Henderson <richard.henderson@linaro.org>2023-10-30 13:41:55 -0700
commitc7bc2a8fb14650264ada7012af59d87207da590f (patch)
treec304ec42ca1e1e37185bf7effc3c52728c8d4583 /linux-user/hppa/vdso-asmoffset.h
parenta9f495b93f1497ced94dbe51ebb733537e0fa1ab (diff)
linux-user/hppa: Add vdso
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/hppa/vdso-asmoffset.h')
-rw-r--r--linux-user/hppa/vdso-asmoffset.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/linux-user/hppa/vdso-asmoffset.h b/linux-user/hppa/vdso-asmoffset.h
new file mode 100644
index 0000000000..c8b40c0332
--- /dev/null
+++ b/linux-user/hppa/vdso-asmoffset.h
@@ -0,0 +1,12 @@
+#define sizeof_rt_sigframe 584
+#define offsetof_sigcontext 160
+#define offsetof_sigcontext_gr 0x4
+#define offsetof_sigcontext_fr 0x88
+#define offsetof_sigcontext_iaoq 0x190
+#define offsetof_sigcontext_sar 0x198
+
+/* arch/parisc/include/asm/rt_sigframe.h */
+#define SIGFRAME 64
+#define FUNCTIONCALLFRAME 48
+#define PARISC_RT_SIGFRAME_SIZE32 \
+ (((sizeof_rt_sigframe) + FUNCTIONCALLFRAME + SIGFRAME) & -SIGFRAME)