mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 06:43:53 -06:00
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>
This commit is contained in:
parent
c7bc2a8fb1
commit
468c1bb5ca
10 changed files with 303 additions and 0 deletions
9
linux-user/riscv/vdso-asmoffset.h
Normal file
9
linux-user/riscv/vdso-asmoffset.h
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue