RTEMS
5.1
Main Page
Related Pages
Modules
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
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
z
+
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
z
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Variables
_
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
v
w
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
o
p
q
r
s
t
u
v
w
x
+
Enumerations
a
b
c
e
h
i
l
m
o
p
q
r
s
t
w
+
Enumerator
a
c
d
h
i
l
m
p
r
s
t
w
+
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
bsps
mips
csb350
include
tm27.h
Go to the documentation of this file.
1
5
/*
6
* The license and distribution terms for this file may be
7
* found in the file LICENSE in this distribution or at
8
* http://www.rtems.org/license/LICENSE.
9
*/
10
11
#ifndef _RTEMS_TMTEST27
12
#error "This is an RTEMS internal file you must not include directly."
13
#endif
14
15
#ifndef __tm27_h
16
#define __tm27_h
17
18
#include <bsp/irq.h>
19
20
/*
21
* Define the interrupt mechanism for Time Test 27
22
*/
23
24
int
assert_sw_irw(uint32_t irqnum);
25
int
negate_sw_irw(uint32_t irqnum);
26
27
#define MUST_WAIT_FOR_INTERRUPT 0
28
29
#define Install_tm27_vector( handler ) \
30
rtems_interrupt_handler_install( \
31
AU1X00_IRQ_SW0, "benchmark", 0, (rtems_interrupt_handler)handler, NULL );
32
33
#define Cause_tm27_intr() \
34
do { \
35
assert_sw_irq(0); \
36
} while(0)
37
38
#define Clear_tm27_intr() \
39
do { \
40
negate_sw_irq(0); \
41
} while(0)
42
43
#define Lower_tm27_intr() \
44
do { \
45
continue;\
46
} while(0)
47
48
#endif
Generated by
1.8.15