linux-user/sparc: Use target_pt_regs
commita1181d53a97dbed24b68fd04d700679cf9d6af65
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 26 Apr 2021 02:53:24 +0000 (25 19:53 -0700)
committerLaurent Vivier <laurent@vivier.eu>
Sat, 15 May 2021 19:43:23 +0000 (15 21:43 +0200)
tree70098218406404b44cd4d158f608115849c3bbb4
parentf8ea624e7456b10bee8e82b788885a438af8084d
linux-user/sparc: Use target_pt_regs

Replace __siginfo_t with target_pt_regs, and move si_mask
into target_signal_frame directly.

Extract save/restore functions for target_pt_regs.  Adjust
for sparc64 tstate.  Use proper get/put functions for psr.
Turns out we were already writing to si_mask twice, so no
need to handle that in the new functions.

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