RTEMS
|
Generic BSP interrupt support API. More...
#include <stdbool.h>
#include <rtems/irq-extension.h>
#include <rtems/score/assert.h>
#include <rtems/score/atomic.h>
#include <bsp/irq.h>
Go to the source code of this file.
Classes | |
struct | bsp_interrupt_handler_entry |
Macros | |
#define | BSP_INTERRUPT_VECTOR_NUMBER (BSP_INTERRUPT_VECTOR_MAX - BSP_INTERRUPT_VECTOR_MIN + 1) |
#define | BSP_INTERRUPT_HANDLER_TABLE_SIZE BSP_INTERRUPT_VECTOR_NUMBER |
#define | bsp_interrupt_disable(level) do { (void) level; } while (0) |
#define | bsp_interrupt_enable(level) do { } while (0) |
#define | bsp_interrupt_fence(order) _Atomic_Fence(order) |
#define | bsp_interrupt_assert(e) _Assert(e) |
Typedefs | |
typedef struct bsp_interrupt_handler_entry | bsp_interrupt_handler_entry |
Functions | |
static rtems_vector_number | bsp_interrupt_handler_index (rtems_vector_number vector) |
static bool | bsp_interrupt_is_valid_vector (rtems_vector_number vector) |
Returns true if the interrupt vector with number vector is valid. | |
void | bsp_interrupt_handler_default (rtems_vector_number vector) |
Default interrupt handler. More... | |
void | bsp_interrupt_initialize (void) |
Initialize BSP interrupt support. More... | |
rtems_status_code | bsp_interrupt_facility_initialize (void) |
BSP specific initialization. More... | |
void | bsp_interrupt_vector_enable (rtems_vector_number vector) |
Enables the interrupt vector with number vector. More... | |
void | bsp_interrupt_vector_disable (rtems_vector_number vector) |
Disables the interrupt vector with number vector. More... | |
static void | bsp_interrupt_handler_dispatch (rtems_vector_number vector) |
Sequencially calls all interrupt handlers for the vector number vector. More... | |
bool | bsp_interrupt_handler_is_empty (rtems_vector_number vector) |
Is interrupt handler empty. More... | |
void | bsp_interrupt_lock (void) |
void | bsp_interrupt_unlock (void) |
Variables | |
bsp_interrupt_handler_entry | bsp_interrupt_handler_table [] |
Generic BSP interrupt support API.
Definition in file irq-generic.h.