blob: 7fa33b05d9111f0cab8bd2bf03de37a6c4054533 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/*
* Signal-related declarations.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef USER_SIGNAL_H
#define USER_SIGNAL_H
#ifndef CONFIG_USER_ONLY
#error Cannot include this header from system emulation
#endif
/**
* target_to_host_signal:
* @sig: target signal.
*
* On success, return the host signal between 0 (inclusive) and NSIG
* (exclusive) corresponding to the target signal @sig. Return any other value
* on failure.
*/
int target_to_host_signal(int sig);
extern int host_interrupt_signal;
#endif
|