aboutsummaryrefslogtreecommitdiff
path: root/bsd-user/signal-common.h
blob: f9a9d1e01aa5a7e7e4f99457a011fe310ccd0aa0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * 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);
void process_pending_signals(CPUArchState *env);
void queue_signal(CPUArchState *env, int sig, target_siginfo_t *info);
void signal_init(void);

#endif