summaryrefslogtreecommitdiffstats
path: root/schedsim/shell/shared/main_rtemsinit.c
diff options
context:
space:
mode:
authorJennifer Averett <jennifer.averett@oarcorp.com>2014-06-17 12:03:25 -0500
committerJennifer Averett <jennifer.averett@oarcorp.com>2014-06-17 12:03:25 -0500
commit6f48a61527f4fad2244d7d8bfa67795d042c7fef (patch)
treeecda4c9713a6fbaf0d1af8dbce438f8cd67b23d9 /schedsim/shell/shared/main_rtemsinit.c
parentrtems: Add _Thread_Yield support. (diff)
downloadrtems-schedsim-6f48a61527f4fad2244d7d8bfa67795d042c7fef.tar.bz2
Add remainder of schedulers and cluster scheduler support.
Diffstat (limited to 'schedsim/shell/shared/main_rtemsinit.c')
-rw-r--r--schedsim/shell/shared/main_rtemsinit.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/schedsim/shell/shared/main_rtemsinit.c b/schedsim/shell/shared/main_rtemsinit.c
index ad2b14f..a1afcb6 100644
--- a/schedsim/shell/shared/main_rtemsinit.c
+++ b/schedsim/shell/shared/main_rtemsinit.c
@@ -32,6 +32,8 @@ int rtems_shell_main_rtems_init(
char *argv[]
)
{
+ int i;
+
#if defined(RTEMS_SMP)
long cpus = 1;
@@ -44,6 +46,11 @@ int rtems_shell_main_rtems_init(
Schedsim_Maximum_CPUs_From_Command_Line = cpus;
#endif
+ for (i=0; strcmp("", shell_scheduler_list[i]) != 0; i++)
+ {
+ printf("Scheduler %d: %s\n", i, shell_scheduler_list[i]);
+ }
+
//
// Initialize RTEMS
//