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
libfs
src
jffs2
include
linux
spinlock.h
Go to the documentation of this file.
1
#ifndef __LINUX_SPINLOCK_H__
2
#define __LINUX_SPINLOCK_H__
3
4
5
typedef
struct
{ }
spinlock_t
;
6
#define SPIN_LOCK_UNLOCKED (spinlock_t) { }
7
#define DEFINE_SPINLOCK(x) spinlock_t x = SPIN_LOCK_UNLOCKED
8
9
#define spin_lock_init(lock) \
10
CYG_MACRO_START; \
11
CYG_UNUSED_PARAM(spinlock_t *, lock); \
12
CYG_MACRO_END
13
14
#define spin_lock(lock) \
15
CYG_MACRO_START; \
16
CYG_UNUSED_PARAM(spinlock_t *, lock); \
17
CYG_MACRO_END
18
19
#define spin_unlock(lock) \
20
CYG_MACRO_START; \
21
CYG_UNUSED_PARAM(spinlock_t *, lock); \
22
CYG_MACRO_END
23
24
#define spin_lock_bh(lock) \
25
CYG_MACRO_START; \
26
CYG_UNUSED_PARAM(spinlock_t *, lock); \
27
CYG_MACRO_END
28
29
#define spin_unlock_bh(lock) \
30
CYG_MACRO_START; \
31
CYG_UNUSED_PARAM(spinlock_t *, lock); \
32
CYG_MACRO_END
33
34
#endif
/* __LINUX_SPINLOCK_H__ */
spinlock_t
Definition:
spinlock.h:6
Generated by
1.8.13