RTEMS: bsps/shared/irq/irq-generic.c File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Functions | Variables
irq-generic.c File Reference
Board Support Packages » Shared » BSP Interrupt Support

This source file contains the generic interrupt controller 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.
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.
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.
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.
bool | bsp_interrupt_handler_is_empty (rtems_vector_number vector)
| Is interrupt handler empty.
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.
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.

## Variables
bsp_interrupt_handler_entry | bsp_interrupt_handler_table [BSP_INTERRUPT_HANDLER_TABLE_SIZE]

## Detailed Description

This source file contains the generic interrupt controller support implementation.