RTEMS  5.1
Data Structures | Macros | Typedefs | Functions | Variables
irq-generic.h File Reference

Generic BSP interrupt support API. More...

#include <stdbool.h>
#include <rtems/irq-extension.h>
#include <rtems/score/assert.h>
#include <bsp/irq.h>

Go to the source code of this file.

Data Structures

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)   rtems_interrupt_disable(level)
 
#define bsp_interrupt_enable(level)   rtems_interrupt_enable(level)
 
#define bsp_interrupt_fence(order)   do { } while (0)
 
#define bsp_interrupt_assert(e)   _Assert(e)
 

Typedefs

typedef struct bsp_interrupt_handler_entry bsp_interrupt_handler_entry
 

Functions

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...
 
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 []
 

Detailed Description

Generic BSP interrupt support API.