mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 04:17:35 +08:00
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.
This commit is contained in:
@@ -38,7 +38,6 @@
|
||||
|
||||
#include <bsp.h>
|
||||
#include <dev/irq/arm-gic.h>
|
||||
#include <rtems/score/processormask.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -85,16 +84,6 @@ rtems_status_code arm_gic_irq_get_group(
|
||||
gic_group *group
|
||||
);
|
||||
|
||||
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
|
||||
);
|
||||
|
||||
void arm_gic_trigger_sgi(rtems_vector_number vector, uint32_t targets);
|
||||
|
||||
static inline rtems_status_code arm_gic_irq_generate_software_irq(
|
||||
|
||||
Reference in New Issue
Block a user