diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2024-01-13 09:02:38 +1100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2024-01-25 19:13:41 +0300 |
commit | 1e0f028de71dc6aea7103b40281d32f4f0ebbbb9 (patch) | |
tree | 0f84a7bef5e05781c596967c8f83cd15b4093ed8 /ui/input-linux.c | |
parent | 8bdd3abcf1c989ebe4428190e5789dfbbdf6c6ca (diff) | |
download | qemu-1e0f028de71dc6aea7103b40281d32f4f0ebbbb9.zip qemu-1e0f028de71dc6aea7103b40281d32f4f0ebbbb9.tar.gz qemu-1e0f028de71dc6aea7103b40281d32f4f0ebbbb9.tar.bz2 |
linux-user/riscv: Adjust vdso signal frame cfa offsets
A typo in sizeof_reg put the registers at the wrong offset.
Simplify the expressions to use positive addresses from the
start of uc_mcontext instead of negative addresses from the
end of uc_mcontext.
Reported-by: Vineet Gupta <vineetg@rivosinc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
(cherry picked from commit 1b21fe27e75a59bfe2513f5abcc6a18cfc35cfc8)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'ui/input-linux.c')
0 files changed, 0 insertions, 0 deletions