25 #ifndef RTEMS_IRQ_EXTENSION_H 26 #define RTEMS_IRQ_EXTENSION_H 49 #define RTEMS_INTERRUPT_UNIQUE ((rtems_option) 0x00000001) 55 #define RTEMS_INTERRUPT_SHARED ((rtems_option) 0x00000000) 61 #define RTEMS_INTERRUPT_REPLACE ((rtems_option) 0x00000002) 66 #define RTEMS_INTERRUPT_IS_UNIQUE( options) \ 67 ((options) & RTEMS_INTERRUPT_UNIQUE) 72 #define RTEMS_INTERRUPT_IS_SHARED( options) \ 73 (!RTEMS_INTERRUPT_IS_UNIQUE( options)) 78 #define RTEMS_INTERRUPT_IS_REPLACE( options) \ 79 ((options) & RTEMS_INTERRUPT_REPLACE) 259 rtems_option options,
260 rtems_interrupt_handler handler,
283 rtems_interrupt_handler handler,
uint32_t rtems_attribute
This defines the type used to contain Classic API attributes.
Definition: attr.h:44
rtems_status_code rtems_interrupt_server_handler_remove(rtems_id server, rtems_vector_number vector, rtems_interrupt_handler handler, void *arg)
Removes the interrupt handler routine handler with argument arg for the interrupt vector with number ...
Objects_Id rtems_id
Used to manage and manipulate RTEMS object identifiers.
Definition: types.h:80
rtems_status_code rtems_interrupt_server_initialize(rtems_task_priority priority, size_t stack_size, rtems_mode modes, rtems_attribute attributes, rtems_id *server)
Initializes an interrupt server task.
rtems_status_code rtems_interrupt_handler_remove(rtems_vector_number vector, rtems_interrupt_handler handler, void *arg)
Removes the interrupt handler routine handler with argument arg for the interrupt vector with number ...
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...
ISR_Vector_number rtems_vector_number
Control block type used to manage the vectors.
Definition: intr.h:50
Priority_Control rtems_task_priority
Define the type for an RTEMS API task priority.
Definition: tasks.h:79
rtems_status_code
Classic API Status.
Definition: status.h:46
rtems_status_code rtems_interrupt_server_handler_install(rtems_id server, 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 on the ser...
uint32_t rtems_option
The following type defines the control block used to manage option sets.
Definition: options.h:45
void(* rtems_interrupt_per_handler_routine)(void *, const char *, rtems_option, rtems_interrupt_handler, void *)
Interrupt handler iteration routine type.
Definition: irq-extension.h:174
void(* rtems_interrupt_handler)(void *)
Interrupt handler routine type.
Definition: irq-extension.h:84
rtems_status_code rtems_interrupt_handler_iterate(rtems_vector_number vector, rtems_interrupt_per_handler_routine routine, void *arg)
Iterates over all installed interrupt handler of the interrupt vector with number vector...
Modes_Control rtems_mode
Task mode type.
Definition: types.h:167