]> git.proxmox.com Git - mirror_qemu.git/blob - bsd-user/signal-common.h
bsd-user/signal-common.h: Move signal functions prototypes to here
[mirror_qemu.git] / bsd-user / signal-common.h
1 /*
2 * Emulation of BSD signals
3 *
4 * Copyright (c) 2013 Stacey Son
5 *
6 * SPDX-License-Identifier: GPL-2.0-or-later
7 */
8
9 #ifndef SIGNAL_COMMON_H
10 #define SIGNAL_COMMON_H
11
12 long do_rt_sigreturn(CPUArchState *env);
13 abi_long do_sigaltstack(abi_ulong uss_addr, abi_ulong uoss_addr, abi_ulong sp);
14 long do_sigreturn(CPUArchState *env);
15 void force_sig_fault(int sig, int code, abi_ulong addr);
16 void process_pending_signals(CPUArchState *env);
17 void queue_signal(CPUArchState *env, int sig, target_siginfo_t *info);
18 void signal_init(void);
19
20 #endif