aboutsummaryrefslogtreecommitdiff
path: root/linux-user/riscv/target_signal.h
diff options
context:
space:
mode:
authorLaurent Vivier <laurent@vivier.eu>2018-04-24 21:26:28 +0200
committerLaurent Vivier <laurent@vivier.eu>2018-04-30 09:47:47 +0200
commit9c3221c192275a16080381e82a3d72c843f52520 (patch)
treeb1e95db9b20639d5175dabcf66209337f8c80c93 /linux-user/riscv/target_signal.h
parentea14059a3678b69f0b102573088c02a9ce7aed9a (diff)
downloadqemu-9c3221c192275a16080381e82a3d72c843f52520.zip
qemu-9c3221c192275a16080381e82a3d72c843f52520.tar.gz
qemu-9c3221c192275a16080381e82a3d72c843f52520.tar.bz2
linux-user: move riscv signal.c parts to riscv directory
No code change, only move code from signal.c to riscv/signal.c, except adding includes and exporting setup_rt_frame(). Signed-off-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20180424192635.6027-14-laurent@vivier.eu>
Diffstat (limited to 'linux-user/riscv/target_signal.h')
-rw-r--r--linux-user/riscv/target_signal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-user/riscv/target_signal.h b/linux-user/riscv/target_signal.h
index ce77f75..6ac8a88 100644
--- a/linux-user/riscv/target_signal.h
+++ b/linux-user/riscv/target_signal.h
@@ -20,4 +20,7 @@ static inline abi_ulong get_sp_from_cpustate(CPURISCVState *state)
return state->gpr[xSP];
}
+void setup_rt_frame(int sig, struct target_sigaction *ka,
+ target_siginfo_t *info,
+ target_sigset_t *set, CPURISCVState *env);
#endif /* TARGET_SIGNAL_H */