RTEMS  5.1
tm27.h
1 /*
2  * @file
3  * @ingroup m68k_uC5282
4  * @brief Implementations for interrupt mechanisms for Time Test 27
5  */
6 
7 /*
8  * Author: W. Eric Norum <norume@aps.anl.gov>
9  *
10  * COPYRIGHT (c) 2005-2014.
11  * On-Line Applications Research Corporation (OAR).
12  *
13  * The license and distribution terms for this file may be
14  * found in the file LICENSE in this distribution or at
15  * http://www.rtems.org/license/LICENSE.
16  */
17 
18 #ifndef _RTEMS_TMTEST27
19 #error "This is an RTEMS internal file you must not include directly."
20 #endif
21 
22 #ifndef __tm27_h
23 #define __tm27_h
24 
25 /*
26  * Stuff for Time Test 27
27  * Don't bother with hardware -- just use a software-interrupt
28  */
29 
30 #define MUST_WAIT_FOR_INTERRUPT 0
31 
32 #define Install_tm27_vector( handler ) set_vector( (handler), 35, 1 )
33 
34 #define Cause_tm27_intr() asm volatile ("trap #3");
35 
36 #define Clear_tm27_intr() /* empty */
37 
38 #define Lower_tm27_intr() /* empty */
39 
40 #endif