summaryrefslogtreecommitdiffstats
path: root/bsps/riscv/griscv/include/bsp/irq.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2024-03-20 15:54:33 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2024-03-27 20:20:38 +0100
commit5b0e355ed75de33e9fe0d9dacd1fde4353537d42 (patch)
treef19d59e5bd7e0efe764a460d5839ffd049cc0a15 /bsps/riscv/griscv/include/bsp/irq.h
parentrtems: Avoid -Wundef warnings in API header (diff)
downloadrtems-5b0e355ed75de33e9fe0d9dacd1fde4353537d42.tar.bz2
bsps: Move declarations to <bsp/irq-generic.h>
Move declarations of bsp_interrupt_get_affinity() and bsp_interrupt_set_affinity() to <bsp/irq-generic.h>. Canonicalize the <bsp/irq.h> includes. Implement bsp_interrupt_get_affinity() and bsp_interrupt_set_affinity() only if needed (usually RTEMS_SMP). Provide stub implementations for i386 to fix build errors.
Diffstat (limited to 'bsps/riscv/griscv/include/bsp/irq.h')
-rw-r--r--bsps/riscv/griscv/include/bsp/irq.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/bsps/riscv/griscv/include/bsp/irq.h b/bsps/riscv/griscv/include/bsp/irq.h
index 9256e4ff3c..43ee019620 100644
--- a/bsps/riscv/griscv/include/bsp/irq.h
+++ b/bsps/riscv/griscv/include/bsp/irq.h
@@ -40,9 +40,6 @@
#ifndef ASM
#include <bsp.h>
-#include <rtems/irq.h>
-#include <rtems/irq-extension.h>
-#include <rtems/score/processormask.h>
#define RISCV_INTERRUPT_VECTOR_SOFTWARE 0
@@ -56,16 +53,6 @@
#define BSP_INTERRUPT_VECTOR_COUNT RISCV_INTERRUPT_VECTOR_EXTERNAL(RISCV_MAXIMUM_EXTERNAL_INTERRUPTS)
-rtems_status_code bsp_interrupt_set_affinity(
- rtems_vector_number vector,
- const Processor_mask *affinity
-);
-
-rtems_status_code bsp_interrupt_get_affinity(
- rtems_vector_number vector,
- Processor_mask *affinity
-);
-
#endif /* ASM */
#endif /* LIBBSP_RISCV_GRISCV_IRQ_H */