37#ifndef LIBBSP_RISCV_GRISCV_IRQ_H
38#define LIBBSP_RISCV_GRISCV_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_COUNT RISCV_INTERRUPT_VECTOR_EXTERNAL(RISCV_MAXIMUM_EXTERNAL_INTERRUPTS)
61 const Processor_mask *affinity
66 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.