aboutsummaryrefslogtreecommitdiff
path: root/linux-user/sh4/target_signal.h
diff options
context:
space:
mode:
authorLaurent Vivier <laurent@vivier.eu>2018-04-24 21:26:19 +0200
committerLaurent Vivier <laurent@vivier.eu>2018-04-30 09:47:47 +0200
commit0f22162a4df4b477eb1a5a3c2b9906ace8128a4c (patch)
treeb5ba984b8f11d00213ef421a01dc829b0df300c3 /linux-user/sh4/target_signal.h
parent5f7645975d23b90a28067f258b79887aa30ada8e (diff)
linux-user: move sh4 signal.c parts to sh4 directory
No code change, only move code from signal.c to sh4/signal.c, except adding includes and exporting setup_frame() and setup_rt_frame(). Signed-off-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20180424192635.6027-5-laurent@vivier.eu>
Diffstat (limited to 'linux-user/sh4/target_signal.h')
-rw-r--r--linux-user/sh4/target_signal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux-user/sh4/target_signal.h b/linux-user/sh4/target_signal.h
index cbf23b6a31..a2a93fa04a 100644
--- a/linux-user/sh4/target_signal.h
+++ b/linux-user/sh4/target_signal.h
@@ -26,5 +26,10 @@ static inline abi_ulong get_sp_from_cpustate(CPUSH4State *state)
return state->gregs[15];
}
+void setup_frame(int sig, struct target_sigaction *ka,
+ target_sigset_t *set, CPUSH4State *regs);
+void setup_rt_frame(int sig, struct target_sigaction *ka,
+ target_siginfo_t *info,
+ target_sigset_t *set, CPUSH4State *regs);
#endif /* SH4_TARGET_SIGNAL_H */