diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-04-04 10:56:36 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-04-15 08:37:11 +0200 |
commit | e1598a616db1e9dadfd74abeb20b1f1ec5daaa7f (patch) | |
tree | 0aabc512f4beb2b30eba7885926d06a878988855 /cpukit/score/src/schedulercbs.c | |
parent | score: Add and use RTEMS_ZERO_LENGTH_ARRAY (diff) | |
download | rtems-e1598a616db1e9dadfd74abeb20b1f1ec5daaa7f.tar.bz2 |
score: Static scheduler configuration
Do not allocate the scheduler control structures from the workspace.
This is a preparation step for configuration of clustered/partitioned
schedulers on SMP.
Diffstat (limited to 'cpukit/score/src/schedulercbs.c')
-rw-r--r-- | cpukit/score/src/schedulercbs.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/cpukit/score/src/schedulercbs.c b/cpukit/score/src/schedulercbs.c index c427c5254f..54312b2ca6 100644 --- a/cpukit/score/src/schedulercbs.c +++ b/cpukit/score/src/schedulercbs.c @@ -22,8 +22,6 @@ #include <rtems/score/threadimpl.h> #include <rtems/score/wkspace.h> -Scheduler_CBS_Server **_Scheduler_CBS_Server_list; - void _Scheduler_CBS_Budget_callout( Thread_Control *the_thread ) @@ -52,13 +50,5 @@ void _Scheduler_CBS_Budget_callout( int _Scheduler_CBS_Initialize(void) { - unsigned int i; - _Scheduler_CBS_Server_list = (Scheduler_CBS_Server **) _Workspace_Allocate( - _Scheduler_CBS_Maximum_servers * sizeof(Scheduler_CBS_Server*) ); - if ( !_Scheduler_CBS_Server_list ) - return SCHEDULER_CBS_ERROR_NO_MEMORY; - for (i = 0; i<_Scheduler_CBS_Maximum_servers; i++) { - _Scheduler_CBS_Server_list[i] = NULL; - } return SCHEDULER_CBS_OK; } |