RTEMS CPU Kit with SuperCore
4.11.3
Main Page
Related Pages
Modules
+
Data Structures
Data Structures
+
Data Fields
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
i
j
l
m
n
o
p
q
r
s
t
u
v
w
+
Variables
_
b
c
d
i
r
+
Typedefs
a
b
c
d
f
h
i
m
o
p
q
r
s
t
u
w
x
+
Enumerations
b
c
d
e
h
i
m
o
p
r
s
t
w
+
Enumerator
c
i
m
p
r
s
t
w
+
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
w
mnt
data0
chrisj
rtems
releases
rtems-release.git
4.11.3
ws-rtems
rtems-4.11.3
cpukit
posix
include
rtems
posix
sigset.h
Go to the documentation of this file.
1
10
/*
11
* COPYRIGHT (c) 1989-2011.
12
* On-Line Applications Research Corporation (OAR).
13
*
14
* The license and distribution terms for this file may be
15
* found in the file LICENSE in this distribution or at
16
* http://www.rtems.org/license/LICENSE.
17
*/
18
19
#ifndef _RTEMS_POSIX_SIGSET_H
20
#define _RTEMS_POSIX_SIGSET_H
21
22
#include <signal.h>
// sigset_t
23
24
/*
25
* Currently 32 signals numbered 1-32 are defined
26
*/
27
28
#define SIGNAL_EMPTY_MASK 0x00000000L
29
#define SIGNAL_ALL_MASK 0xffffffffL
30
31
static
inline
sigset_t signo_to_mask(
32
uint32_t sig
33
)
34
{
35
return
1u << (sig - 1);
36
}
37
38
static
inline
bool
is_valid_signo(
39
int
signo
40
)
41
{
42
return
((signo) >= 1 && (signo) <= 32 );
43
}
44
45
#endif
Generated by
1.8.13