15#ifndef _RTEMS_TMTEST27
16#error "This is an RTEMS internal file you must not include directly."
28#define MUST_WAIT_FOR_INTERRUPT 1
40static int stub_rtems_irq_is_enabled(
49 .name = BSP_DECREMENTER,
52 .on = stub_rtems_irq_enable,
53 .off = stub_rtems_irq_disable,
54 .isOn = stub_rtems_irq_is_enabled,
60 clockIrqData.hdl = handler;
61 if ( !BSP_install_rtems_irq_handler( &clockIrqData ) ) {
62 printk(
"Error installing clock interrupt handler!\n" );
67#define Cause_tm27_intr() \
69 uint32_t _clicks = 1; \
70 __asm__ volatile( "mtdec %0" \
72 : "r"(( _clicks )) ); \
75#define Clear_tm27_intr() \
77 uint32_t _clicks = 0xffffffff; \
78 __asm__ volatile( "mtdec %0" \
80 : "r"(( _clicks )) ); \
83#define Lower_tm27_intr() \
86 _ISR_Set_level( 0 ); \
87 __asm__ volatile( "mfmsr %0 ;" \
91 __asm__ volatile( "mtmsr %0 ;" \
RTEMS_NO_RETURN void rtems_fatal_error_occurred(uint32_t fatal_code)
Invokes the fatal error handler.
Definition: fatal.c:47
void(* rtems_interrupt_handler)(void *)
Interrupt handler routines shall have this type.
Definition: intr.h:1030