diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-12-09 14:29:47 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-12-10 09:42:49 +0100 |
commit | b6925e10c8a7990ef9d9649e0f13ac0cbdd41071 (patch) | |
tree | a10445b43d734d24e591fe4de0f36554aa591be9 /bsps/arm/shared | |
parent | bsp/realview-pbx-a9: Fix smpfatal04 test (diff) | |
download | rtems-b6925e10c8a7990ef9d9649e0f13ac0cbdd41071.tar.bz2 |
bsps: Fix GICv3 arm_gic_trigger_sgi()
Use the targets parameter to determine the targets of the SGI. Change
targets parameter type to 32-bit to ease the parameter passing. GICv3
supports up to 16 targets.
Update #4202.
Diffstat (limited to 'bsps/arm/shared')
-rw-r--r-- | bsps/arm/shared/start/arm-a9mpcore-smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsps/arm/shared/start/arm-a9mpcore-smp.c b/bsps/arm/shared/start/arm-a9mpcore-smp.c index dd0512648c..5527cd2fa9 100644 --- a/bsps/arm/shared/start/arm-a9mpcore-smp.c +++ b/bsps/arm/shared/start/arm-a9mpcore-smp.c @@ -60,6 +60,6 @@ void _CPU_SMP_Send_interrupt( uint32_t target_processor_index ) arm_gic_irq_generate_software_irq( ARM_GIC_IRQ_SGI_0, ARM_GIC_IRQ_SOFTWARE_IRQ_TO_ALL_IN_LIST, - (uint8_t) (1U << target_processor_index) + 1U << target_processor_index ); } |