RTEMS  5.1
Functions | Variables
irq-generic.c File Reference

Generic BSP interrupt support implementation. More...

#include <bsp/irq-generic.h>
#include <bsp/fatal.h>
#include <stdlib.h>
#include <rtems/score/processormask.h>
#include <rtems/malloc.h>

Functions

void bsp_interrupt_initialize (void)
 Initialize BSP interrupt support. More...
 
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. More...
 
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 vector. More...
 
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. More...
 
bool bsp_interrupt_handler_is_empty (rtems_vector_number vector)
 Is interrupt handler empty. More...
 
rtems_status_code rtems_interrupt_set_affinity (rtems_vector_number vector, size_t affinity_size, const cpu_set_t *affinity)
 Sets the processor affinity set of an interrupt vector. More...
 
rtems_status_code rtems_interrupt_get_affinity (rtems_vector_number vector, size_t affinity_size, cpu_set_t *affinity)
 Gets the processor affinity set of an interrupt vector. More...
 

Variables

bsp_interrupt_handler_entry bsp_interrupt_handler_table [BSP_INTERRUPT_HANDLER_TABLE_SIZE]
 

Detailed Description

Generic BSP interrupt support implementation.