File indexing completed on 2025-05-11 08:23:50
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef _RTEMS_TMTEST27
0012 #error "This is an RTEMS internal file you must not include directly."
0013 #endif
0014
0015 #ifndef __tm27_h
0016 #define __tm27_h
0017
0018 #include <bsp/irq.h>
0019
0020
0021
0022
0023
0024 int assert_sw_irw(uint32_t irqnum);
0025 int negate_sw_irw(uint32_t irqnum);
0026
0027 #define MUST_WAIT_FOR_INTERRUPT 0
0028
0029 #define Install_tm27_vector( handler ) \
0030 rtems_interrupt_handler_install( \
0031 AU1X00_IRQ_SW0, "benchmark", 0, handler, NULL );
0032
0033 #define Cause_tm27_intr() \
0034 do { \
0035 assert_sw_irq(0); \
0036 } while(0)
0037
0038 #define Clear_tm27_intr() \
0039 do { \
0040 negate_sw_irq(0); \
0041 } while(0)
0042
0043 #define Lower_tm27_intr() \
0044 do { \
0045 continue;\
0046 } while(0)
0047
0048 #endif