aboutsummaryrefslogtreecommitdiff
path: root/linux-user/openrisc/target_signal.h
diff options
context:
space:
mode:
authorLaurent Vivier <laurent@vivier.eu>2018-04-24 21:26:23 +0200
committerLaurent Vivier <laurent@vivier.eu>2018-04-30 09:47:47 +0200
commit17853172f7c3abaa6f1fa65c9c01104539da3a03 (patch)
treefcb46aad6fec1cd5e551674ebc3532c7b0f7a2dc /linux-user/openrisc/target_signal.h
parentf7cd3e678cda9c91f99a045e8d7d37247a558346 (diff)
linux-user: move openrisc signal.c parts to openrisc directory
No code change, only move code from signal.c to openrisc/signal.c, except adding includes and exporting 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-9-laurent@vivier.eu>
Diffstat (limited to 'linux-user/openrisc/target_signal.h')
-rw-r--r--linux-user/openrisc/target_signal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux-user/openrisc/target_signal.h b/linux-user/openrisc/target_signal.h
index 95a733e15a..6c47ddf74e 100644
--- a/linux-user/openrisc/target_signal.h
+++ b/linux-user/openrisc/target_signal.h
@@ -23,5 +23,7 @@ static inline abi_ulong get_sp_from_cpustate(CPUOpenRISCState *state)
return cpu_get_gpr(state, 1);
}
-
+void setup_rt_frame(int sig, struct target_sigaction *ka,
+ target_siginfo_t *info,
+ target_sigset_t *set, CPUOpenRISCState *env);
#endif /* OPENRISC_TARGET_SIGNAL_H */