|
RTEMS
5.1
|
13 #ifndef _RTEMS_TMTEST27 14 #error "This is an RTEMS internal file you must not include directly." 27 #define MUST_WAIT_FOR_INTERRUPT 1 29 #define Install_tm27_vector( handler ) \ 31 extern rtems_irq_connect_data tm27IrqData; \ 32 usiu.siel |= (1 << 17); \ 33 usiu.sipend |= (1 << 17); \ 35 tm27IrqData.hdl = (rtems_irq_hdl)handler; \ 36 BSP_install_rtems_irq_handler (&tm27IrqData); \ 39 #define Cause_tm27_intr() \ 41 usiu.siel &= ~(1 << 17); \ 44 #define Clear_tm27_intr() \ 46 usiu.siel |= (1 << 17); \ 47 usiu.sipend |= (1 << 17); \ 50 #define Lower_tm27_intr() \ 52 ppc_cached_irq_mask |= (1 << 17); \ 53 usiu.simask = ppc_cached_irq_mask; \