RTEMS
7.0-rc1
Loading...
Searching...
No Matches
bsps
mips
csb350
include
tm27.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0+-with-RTEMS-exception */
2
7
/*
8
* The license and distribution terms for this file may be
9
* found in the file LICENSE in this distribution or at
10
* http://www.rtems.org/license/LICENSE.
11
*/
12
13
#ifndef _RTEMS_TMTEST27
14
#error "This is an RTEMS internal file you must not include directly."
15
#endif
16
17
#ifndef __tm27_h
18
#define __tm27_h
19
20
#include <bsp/irq.h>
21
22
/*
23
* Define the interrupt mechanism for Time Test 27
24
*/
25
26
int
assert_sw_irw(uint32_t irqnum);
27
int
negate_sw_irw(uint32_t irqnum);
28
29
#define MUST_WAIT_FOR_INTERRUPT 0
30
31
#define Install_tm27_vector( handler ) \
32
rtems_interrupt_handler_install( \
33
AU1X00_IRQ_SW0, "benchmark"
, 0, handler, NULL );
34
35
#define Cause_tm27_intr() \
36
do { \
37
assert_sw_irq(0); \
38
} while(0)
39
40
#define Clear_tm27_intr() \
41
do { \
42
negate_sw_irq(0); \
43
} while(0)
44
45
#define Lower_tm27_intr() \
46
do { \
47
continue;\
48
} while(0)
49
50
#endif
Generated by
1.9.6