RTEMS  5.1
Macros
tm27.h File Reference

Implementations for interrupt mechanisms for Time Test 27. More...

Go to the source code of this file.

Macros

#define SIS_USE_SYNCHRONOUS_TRAP   0
 
#define TEST_INTERRUPT_SOURCE   LEON_INTERRUPT_EXTERNAL_1
 
#define TEST_VECTOR   LEON_TRAP_TYPE( TEST_INTERRUPT_SOURCE )
 
#define TEST_INTERRUPT_SOURCE2   LEON_INTERRUPT_EXTERNAL_1+1
 
#define TEST_VECTOR2   LEON_TRAP_TYPE( TEST_INTERRUPT_SOURCE2 )
 
#define MUST_WAIT_FOR_INTERRUPT   1
 
#define Install_tm27_vector(handler)
 
#define Cause_tm27_intr()
 
#define Clear_tm27_intr()   LEON_Clear_interrupt( TEST_INTERRUPT_SOURCE )
 
#define Lower_tm27_intr()   /* empty */
 

Detailed Description

Implementations for interrupt mechanisms for Time Test 27.

Macro Definition Documentation

◆ Cause_tm27_intr

#define Cause_tm27_intr (   void)
Value:
do { \
LEON_Force_interrupt( TEST_INTERRUPT_SOURCE+(Interrupt_nest>>1)); \
nop(); \
nop(); \
nop(); \
} while (0)

◆ Install_tm27_vector

#define Install_tm27_vector (   handler)
Value:
set_vector( (handler), TEST_VECTOR, 1 ); \
set_vector( (handler), TEST_VECTOR2, 1 );