diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2021-07-06 15:49:50 -0700 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2023-10-30 13:41:55 -0700 |
| commit | 468c1bb5cac9fc91fb6e7d94d65a99810f1e029c (patch) | |
| tree | 22f8795ac875fadb6db15fb9142bb32ee049f7d9 /linux-user/riscv/vdso-asmoffset.h | |
| parent | c7bc2a8fb14650264ada7012af59d87207da590f (diff) | |
| download | focaccia-qemu-468c1bb5cac9fc91fb6e7d94d65a99810f1e029c.tar.gz focaccia-qemu-468c1bb5cac9fc91fb6e7d94d65a99810f1e029c.zip | |
linux-user/riscv: Add vdso
Acked-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/riscv/vdso-asmoffset.h')
| -rw-r--r-- | linux-user/riscv/vdso-asmoffset.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/linux-user/riscv/vdso-asmoffset.h b/linux-user/riscv/vdso-asmoffset.h new file mode 100644 index 0000000000..123902ef61 --- /dev/null +++ b/linux-user/riscv/vdso-asmoffset.h @@ -0,0 +1,9 @@ +#ifdef TARGET_ABI32 +# define sizeof_rt_sigframe 0x2b0 +# define offsetof_uc_mcontext 0x120 +# define offsetof_freg0 0x80 +#else +# define sizeof_rt_sigframe 0x340 +# define offsetof_uc_mcontext 0x130 +# define offsetof_freg0 0x100 +#endif |