summary refs log tree commit diff stats
path: root/linux-user/loongarch64/vdso-asmoffset.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/loongarch64/vdso-asmoffset.h')
-rw-r--r--linux-user/loongarch64/vdso-asmoffset.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/linux-user/loongarch64/vdso-asmoffset.h b/linux-user/loongarch64/vdso-asmoffset.h
new file mode 100644
index 0000000000..60d113822f
--- /dev/null
+++ b/linux-user/loongarch64/vdso-asmoffset.h
@@ -0,0 +1,8 @@
+#define sizeof_rt_sigframe         0x240
+#define sizeof_sigcontext          0x110
+#define sizeof_sctx_info           0x10
+
+#define offsetof_sigcontext        0x130
+#define offsetof_sigcontext_pc     0
+#define offsetof_sigcontext_gr     8
+#define offsetof_fpucontext_fr     0