aboutsummaryrefslogtreecommitdiff
path: root/linux-user/s390x/target_signal.h
diff options
context:
space:
mode:
authorLaurent Vivier <laurent@vivier.eu>2018-04-24 21:26:24 +0200
committerLaurent Vivier <laurent@vivier.eu>2018-04-30 09:47:47 +0200
commit4c4c73e36911cd666905163be1cb5767a349b986 (patch)
tree5abec6d0605cfb98bf5b9ca30afb8f0609b8e5d5 /linux-user/s390x/target_signal.h
parent17853172f7c3abaa6f1fa65c9c01104539da3a03 (diff)
linux-user: move s390x signal.c parts to s390x directory
No code change, only move code from signal.c to s390x/signal.c, except adding includes and exporting setup_frame() and setup_rt_frame(). Signed-off-by: Laurent Vivier <laurent@vivier.eu> Acked-by: Cornelia Huck <cohuck@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20180424192635.6027-10-laurent@vivier.eu>
Diffstat (limited to 'linux-user/s390x/target_signal.h')
-rw-r--r--linux-user/s390x/target_signal.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/linux-user/s390x/target_signal.h b/linux-user/s390x/target_signal.h
index 6f7b6abafe..9e3733bb38 100644
--- a/linux-user/s390x/target_signal.h
+++ b/linux-user/s390x/target_signal.h
@@ -23,5 +23,9 @@ static inline abi_ulong get_sp_from_cpustate(CPUS390XState *state)
return state->regs[15];
}
-
+void setup_frame(int sig, struct target_sigaction *ka,
+ target_sigset_t *set, CPUS390XState *env);
+void setup_rt_frame(int sig, struct target_sigaction *ka,
+ target_siginfo_t *info,
+ target_sigset_t *set, CPUS390XState *env);
#endif /* S390X_TARGET_SIGNAL_H */