aboutsummaryrefslogtreecommitdiff
path: root/linux-user/nios2/target_signal.h
diff options
context:
space:
mode:
authorLaurent Vivier <laurent@vivier.eu>2018-04-24 21:26:22 +0200
committerLaurent Vivier <laurent@vivier.eu>2018-04-30 09:47:47 +0200
commitf7cd3e678cda9c91f99a045e8d7d37247a558346 (patch)
treec248b484c6497df1ef239658fa6c1b6be7ff1296 /linux-user/nios2/target_signal.h
parent6aa72d7e3ce39c02f808436dbef5533fdb037e1b (diff)
linux-user: move nios2 signal.c parts to nios2 directory
No code change, only move code from signal.c to nios2/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-8-laurent@vivier.eu>
Diffstat (limited to 'linux-user/nios2/target_signal.h')
-rw-r--r--linux-user/nios2/target_signal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-user/nios2/target_signal.h b/linux-user/nios2/target_signal.h
index 23a8267696..aa78519025 100644
--- a/linux-user/nios2/target_signal.h
+++ b/linux-user/nios2/target_signal.h
@@ -23,4 +23,8 @@ static inline abi_ulong get_sp_from_cpustate(CPUNios2State *state)
return state->regs[R_SP];
}
+void setup_rt_frame(int sig, struct target_sigaction *ka,
+ target_siginfo_t *info,
+ target_sigset_t *set,
+ CPUNios2State *env);
#endif /* TARGET_SIGNAL_H */