RTEMS: bsps/riscv/griscv/include/bsp/irq.h File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Macros | Functions
irq.h File Reference

Interrupt definitions. More...

`#include <bsp.h>`
`#include <rtems/irq.h>`
`#include <rtems/irq-extension.h>`
`#include <rtems/score/processormask.h>`

Go to the source code of this file.

## Macros
#define | RISCV_INTERRUPT_VECTOR_SOFTWARE 0
#define | RISCV_INTERRUPT_VECTOR_TIMER 1
#define | RISCV_INTERRUPT_VECTOR_EXTERNAL(x) ((x) + 2)
#define | RISCV_INTERRUPT_VECTOR_IS_EXTERNAL(x) ((x) >= 2)
#define | RISCV_INTERRUPT_VECTOR_EXTERNAL_TO_INDEX(x) ((x) - 2)
#define | BSP_INTERRUPT_VECTOR_MIN 0
#define | BSP_INTERRUPT_VECTOR_MAX RISCV_INTERRUPT_VECTOR_EXTERNAL(RISCV_MAXIMUM_EXTERNAL_INTERRUPTS - 1)

## Functions
void | bsp_interrupt_set_affinity (rtems_vector_number vector, const Processor_mask *affinity)
void | bsp_interrupt_get_affinity (rtems_vector_number vector, Processor_mask *affinity)

## Detailed Description

Interrupt definitions.