39#ifndef LIBBSP_GENERIC_RISCV_IRQ_H
40#define LIBBSP_GENERIC_RISCV_IRQ_H
49#define RISCV_INTERRUPT_VECTOR_SOFTWARE 0
51#define RISCV_INTERRUPT_VECTOR_TIMER 1
53#define RISCV_INTERRUPT_VECTOR_EXTERNAL(x) ((x) + 2)
55#define RISCV_INTERRUPT_VECTOR_IS_EXTERNAL(x) ((x) >= 2)
57#define RISCV_INTERRUPT_VECTOR_EXTERNAL_TO_INDEX(x) ((x) - 2)
59#define BSP_INTERRUPT_VECTOR_COUNT RISCV_INTERRUPT_VECTOR_EXTERNAL(RISCV_MAXIMUM_EXTERNAL_INTERRUPTS)
61#define BSP_INTERRUPT_CUSTOM_VALID_VECTOR
65 const Processor_mask *affinity
70 Processor_mask *affinity
ISR_Vector_number rtems_vector_number
This integer type represents interrupt vector numbers.
Definition: intr.h:102
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Definition: status.h:85
This header file is provided for backward compatiblility.
This header file provides the interfaces of the Processor Mask.