diff options
Diffstat (limited to 'schedsim/shell/shared/main_rtemsinit.c')
-rw-r--r-- | schedsim/shell/shared/main_rtemsinit.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/schedsim/shell/shared/main_rtemsinit.c b/schedsim/shell/shared/main_rtemsinit.c index 51510d6..063316a 100644 --- a/schedsim/shell/shared/main_rtemsinit.c +++ b/schedsim/shell/shared/main_rtemsinit.c @@ -22,8 +22,11 @@ #if defined(RTEMS_SMP) #include <rtems/score/smp.h> + + uint32_t Schedsim_Maximum_CPUs_From_Command_Line; #endif + int rtems_shell_main_rtems_init( int argc, char *argv[] @@ -37,7 +40,7 @@ int rtems_shell_main_rtems_init( printf( "Number of CPUs argument (%s) is not a number\n", argv[1] ); return -1; } - rtems_configuration_smp_maximum_processors = cpus; + Schedsim_Maximum_CPUs_From_Command_Line = cpus; } #endif |