linux-user/sparc: Fix sparc64_{get, set}_context traps
commitd6b036378004c27579aa68bf0174e4e8fbfff726
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 16 Feb 2023 05:45:07 +0000 (15 19:45 -1000)
committerLaurent Vivier <laurent@vivier.eu>
Fri, 10 Mar 2023 19:45:47 +0000 (10 20:45 +0100)
tree3b39607a322118deb5e462d7b4118477f65b8786
parent6f772241e6d0b154c4a99c8f4c55e9ebe5173a09
linux-user/sparc: Fix sparc64_{get, set}_context traps

These traps are present for sparc64 with ilp32, aka sparc32plus.
Enabling them means adjusting the defines over in signal.c,
and fixing an incorrect usage of abi_ulong when we really meant
the full register, target_ulong.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230216054516.1267305-7-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/sparc/cpu_loop.c
linux-user/sparc/signal.c