summaryrefslogtreecommitdiff
path: root/linux-user/cris/target_signal.h
diff options
context:
space:
mode:
authorLaurent Vivier <laurent@vivier.eu>2018-04-24 21:26:21 +0200
committerLaurent Vivier <laurent@vivier.eu>2018-04-30 09:47:47 +0200
commit6aa72d7e3ce39c02f808436dbef5533fdb037e1b (patch)
tree9a97cabd3ecb3dabe11f6b7667bfba445d98c90c /linux-user/cris/target_signal.h
parentf9fb3ba359637f73f1c2009b1447a994e5becee8 (diff)
downloadqemu-6aa72d7e3ce39c02f808436dbef5533fdb037e1b.zip
linux-user: move cris signal.c parts to cris directory
No code change, only move code from signal.c to cris/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-7-laurent@vivier.eu>
Diffstat (limited to 'linux-user/cris/target_signal.h')
-rw-r--r--linux-user/cris/target_signal.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/linux-user/cris/target_signal.h b/linux-user/cris/target_signal.h
index 664621bbcd..19c0d7b539 100644
--- a/linux-user/cris/target_signal.h
+++ b/linux-user/cris/target_signal.h
@@ -26,5 +26,9 @@ static inline abi_ulong get_sp_from_cpustate(CPUCRISState *state)
return state->regs[14];
}
-
+void setup_frame(int sig, struct target_sigaction *ka,
+ target_sigset_t *set, CPUCRISState *env);
+void setup_rt_frame(int sig, struct target_sigaction *ka,
+ target_siginfo_t *info,
+ target_sigset_t *set, CPUCRISState *env);
#endif /* CRIS_TARGET_SIGNAL_H */