23 #ifndef _RTEMS_TMTEST27 24 #error "This is an RTEMS internal file you must not include directly." 27 #ifndef TMTESTS_TM27_H 28 #define TMTESTS_TM27_H 37 #define MUST_WAIT_FOR_INTERRUPT 1 39 #define IPI_INDEX_LOW 1 41 #define IPI_INDEX_HIGH 2 58 sc = qoriq_pic_set_priority(low, 1,
NULL);
70 sc = qoriq_pic_set_priority(high, 2,
NULL);
76 uint32_t
self = ppc_processor_id();
78 qoriq.pic.per_cpu[
self].ipidr[ipi_index].reg = UINT32_C(1) <<
self;
83 qoriq_tm27_cause(IPI_INDEX_LOW);
93 qoriq_tm27_cause(IPI_INDEX_HIGH);
#define RTEMS_INLINE_ROUTINE
Definition: basedefs.h:65
rtems_status_code rtems_interrupt_handler_install(rtems_vector_number vector, const char *info, rtems_option options, rtems_interrupt_handler handler, void *arg)
Installs the interrupt handler routine handler for the interrupt vector with number vector...
Definition: irq.c:127
ISR_Vector_number rtems_vector_number
Control block type used to manage the vectors.
Definition: intr.h:47
General purpose assembler macros, linker command file support and some inline functions for direct re...
rtems_status_code
Classic API Status.
Definition: status.h:43
#define RTEMS_INTERRUPT_UNIQUE
Makes the interrupt handler unique. Prevents other handler from using the same interrupt vector...
Definition: irq-extension.h:50
void(* rtems_interrupt_handler)(void *)
Interrupt handler routine type.
Definition: irq-extension.h:85
QorIQ Configuration, Control and Status Registers.
#define NULL
Requests a GPIO pin group configuration.
Definition: bestcomm_api.h:77