Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:23:44

0001 /**
0002  * @file
0003  *
0004  * @ingroup m68k_csb360
0005  *
0006  * @brief Time Test 27 routines.
0007  */
0008 
0009 /*
0010  *  tm27.h
0011  *
0012  *  The license and distribution terms for this file may be
0013  *  found in the file LICENSE in this distribution or at
0014  *  http://www.rtems.org/license/LICENSE.
0015  */
0016 
0017 #ifndef _RTEMS_TMTEST27
0018 #error "This is an RTEMS internal file you must not include directly."
0019 #endif
0020 
0021 #ifndef __tm27_h
0022 #define __tm27_h
0023 
0024 /*
0025  *  Stuff for Time Test 27
0026  *  Don't bother with hardware -- just use a software-interrupt
0027  */
0028 
0029 #define MUST_WAIT_FOR_INTERRUPT 0
0030 
0031 #define TM27_USE_VECTOR_HANDLER
0032 
0033 #define Install_tm27_vector( handler ) set_vector( (handler), 34, 1 )
0034 
0035 #define Cause_tm27_intr()   asm volatile ("trap #2");
0036 
0037 #define Clear_tm27_intr() /* empty */
0038 
0039 #define Lower_tm27_intr() /* empty */
0040 
0041 #endif