mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00

Implement host_to_target_signal and target_to_host_signal. Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Kyle Evans <kevans@freebsd.org> Signed-off-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
22 lines
609 B
C
22 lines
609 B
C
/*
|
|
* Emulation of BSD signals
|
|
*
|
|
* Copyright (c) 2013 Stacey Son
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef SIGNAL_COMMON_H
|
|
#define SIGNAL_COMMON_H
|
|
|
|
long do_rt_sigreturn(CPUArchState *env);
|
|
abi_long do_sigaltstack(abi_ulong uss_addr, abi_ulong uoss_addr, abi_ulong sp);
|
|
long do_sigreturn(CPUArchState *env);
|
|
void force_sig_fault(int sig, int code, abi_ulong addr);
|
|
int host_to_target_signal(int sig);
|
|
void process_pending_signals(CPUArchState *env);
|
|
void queue_signal(CPUArchState *env, int sig, target_siginfo_t *info);
|
|
void signal_init(void);
|
|
int target_to_host_signal(int sig);
|
|
|
|
#endif
|