mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
LEON3BSP MP: may wake one more CPU than expected
The SHM code always wakes one CPU more that configured, however this has never been a problem since RTEMS will be running on all CPUs or only two cores were available. PR 2006/bsps Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
This commit is contained in:
committed by
Joel Sherrill
parent
0ae9ee1da4
commit
9530716cd4
@@ -114,7 +114,7 @@ void Shm_Get_configuration(
|
|||||||
if (LEON3_Cpu_Index == 0) {
|
if (LEON3_Cpu_Index == 0) {
|
||||||
tmp = 0;
|
tmp = 0;
|
||||||
for (i = 1;
|
for (i = 1;
|
||||||
i < (Configuration.User_multiprocessing_table)->maximum_nodes+1; i++)
|
i < (Configuration.User_multiprocessing_table)->maximum_nodes; i++)
|
||||||
tmp |= (1 << i);
|
tmp |= (1 << i);
|
||||||
LEON3_IrqCtrl_Regs->mpstat = tmp;
|
LEON3_IrqCtrl_Regs->mpstat = tmp;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user