diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-04-03 15:03:35 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-04-04 11:01:18 +0200 |
commit | 24934e36e2513f972510d7c746103be1f766dc6a (patch) | |
tree | 66e3c8840cec6c1262f142e25ec545926140dbf9 /cpukit/score/src/schedulersimpleblock.c | |
parent | score: Add and use Scheduler_simple_Control (diff) | |
download | rtems-24934e36e2513f972510d7c746103be1f766dc6a.tar.bz2 |
score: Add scheduler control to scheduler ops
Scheduler operations must be free of a global scheduler context to
enable partitioned/clustered scheduling.
Diffstat (limited to 'cpukit/score/src/schedulersimpleblock.c')
-rw-r--r-- | cpukit/score/src/schedulersimpleblock.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cpukit/score/src/schedulersimpleblock.c b/cpukit/score/src/schedulersimpleblock.c index ac2ab6bda9..8bfab69adf 100644 --- a/cpukit/score/src/schedulersimpleblock.c +++ b/cpukit/score/src/schedulersimpleblock.c @@ -22,12 +22,14 @@ #include <rtems/score/schedulersimpleimpl.h> void _Scheduler_simple_Block( - Thread_Control *the_thread + Scheduler_Control *scheduler, + Thread_Control *the_thread ) { _Scheduler_Generic_block( + scheduler, + the_thread, _Scheduler_simple_Extract, - _Scheduler_simple_Schedule_body, - the_thread + _Scheduler_simple_Schedule_body ); } |