37 #ifndef LIBBSP_GENERIC_RISCV_IRQ_H 38 #define LIBBSP_GENERIC_RISCV_IRQ_H 47 #define RISCV_INTERRUPT_VECTOR_SOFTWARE 0 49 #define RISCV_INTERRUPT_VECTOR_TIMER 1 51 #define RISCV_INTERRUPT_VECTOR_EXTERNAL(x) ((x) + 2) 53 #define RISCV_INTERRUPT_VECTOR_IS_EXTERNAL(x) ((x) >= 2) 55 #define RISCV_INTERRUPT_VECTOR_EXTERNAL_TO_INDEX(x) ((x) - 2) 57 #define BSP_INTERRUPT_VECTOR_MIN 0 59 #define BSP_INTERRUPT_VECTOR_MAX RISCV_INTERRUPT_VECTOR_EXTERNAL(RISCV_MAXIMUM_EXTERNAL_INTERRUPTS - 1) 61 void bsp_interrupt_set_affinity(
63 const Processor_mask *affinity
66 void bsp_interrupt_get_affinity(
68 Processor_mask *affinity
ISR_Vector_number rtems_vector_number
Control block type used to manage the vectors.
Definition: intr.h:47
Header file for the Interrupt Manager Extension.