4.104.114.84.95
Line | |
---|
1 | /* |
---|
2 | * The license and distribution terms for this file may be |
---|
3 | * found in the file LICENSE in this distribution or at |
---|
4 | * http://www.rtems.com/license/LICENSE. |
---|
5 | */ |
---|
6 | |
---|
7 | #ifndef _RTEMS_TMTEST27 |
---|
8 | #error "This is an RTEMS internal file you must not include directly." |
---|
9 | #endif |
---|
10 | |
---|
11 | #ifndef __tm27_h |
---|
12 | #define __tm27_h |
---|
13 | |
---|
14 | /* |
---|
15 | * Stuff for Time Test 27 |
---|
16 | * Don't bother with hardware -- just use a software-interrupt |
---|
17 | */ |
---|
18 | |
---|
19 | #define MUST_WAIT_FOR_INTERRUPT 0 |
---|
20 | |
---|
21 | #define Install_tm27_vector( handler ) set_vector( (handler), 35, 1 ) |
---|
22 | |
---|
23 | #define Cause_tm27_intr() asm volatile ("trap #3"); |
---|
24 | |
---|
25 | #define Clear_tm27_intr() /* empty */ |
---|
26 | |
---|
27 | #define Lower_tm27_intr() /* empty */ |
---|
28 | |
---|
29 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.