forked from Imagelibrary/rtems
sapi: Use rtems_*_get_user_multiprocessing_table
This commit is contained in:
@@ -63,7 +63,7 @@ void bsp_start( void )
|
||||
|
||||
#if defined(RTEMS_MULTIPROCESSING)
|
||||
node_number = (uint8_t)
|
||||
(Configuration.User_multiprocessing_table->node - 1) & 0xF;
|
||||
(rtems_configuration_get_user_multiprocessing_table()->node - 1) & 0xF;
|
||||
#else
|
||||
node_number = 1;
|
||||
#endif
|
||||
|
||||
@@ -124,7 +124,7 @@ void Shm_Get_configuration(
|
||||
if (LEON3_Cpu_Index == 0) {
|
||||
tmp = 0;
|
||||
for (i = 1;
|
||||
i < (Configuration.User_multiprocessing_table)->maximum_nodes; i++)
|
||||
i < (rtems_configuration_get_user_multiprocessing_table())->maximum_nodes; i++)
|
||||
tmp |= (1 << i);
|
||||
LEON3_IrqCtrl_Regs->mpstat = tmp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user