File indexing completed on 2025-05-11 08:23:56
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 #ifndef _RTEMS_TMTEST27
0014 #error "This is an RTEMS internal file you must not include directly."
0015 #endif
0016
0017 #ifndef __tm27_h
0018 #define __tm27_h
0019
0020 #include <rtems/powerpc/powerpc.h>
0021
0022
0023
0024
0025
0026 #define MUST_WAIT_FOR_INTERRUPT 0
0027
0028 #define Install_tm27_vector( handler ) \
0029 do { \
0030 static rtems_irq_connect_data scIrqData = { \
0031 PPC_IRQ_SCALL, \
0032 handler, \
0033 NULL, \
0034 NULL, \
0035 NULL \
0036 }; \
0037 BSP_install_rtems_irq_handler (&scIrqData); \
0038 } while(0)
0039
0040 #define Cause_tm27_intr() __asm__ volatile ("sc")
0041
0042 #define Clear_tm27_intr()
0043
0044 #define Lower_tm27_intr()
0045
0046 #endif