Back to home page

LXR

 
 

    


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

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