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/include/rtems/score/schedulersimplesmp.h | |
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/include/rtems/score/schedulersimplesmp.h')
-rw-r--r-- | cpukit/score/include/rtems/score/schedulersimplesmp.h | 31 |
1 files changed, 25 insertions, 6 deletions
diff --git a/cpukit/score/include/rtems/score/schedulersimplesmp.h b/cpukit/score/include/rtems/score/schedulersimplesmp.h index 000a975c93..a6d826208d 100644 --- a/cpukit/score/include/rtems/score/schedulersimplesmp.h +++ b/cpukit/score/include/rtems/score/schedulersimplesmp.h @@ -75,19 +75,38 @@ extern "C" { void _Scheduler_simple_smp_Initialize( void ); -void _Scheduler_simple_smp_Block( Thread_Control *thread ); +void _Scheduler_simple_smp_Block( + Scheduler_Control *base, + Thread_Control *thread +); -void _Scheduler_simple_smp_Enqueue_priority_fifo( Thread_Control *thread ); +void _Scheduler_simple_smp_Enqueue_priority_fifo( + Scheduler_Control *base, + Thread_Control *thread +); -void _Scheduler_simple_smp_Enqueue_priority_lifo( Thread_Control *thread ); +void _Scheduler_simple_smp_Enqueue_priority_lifo( + Scheduler_Control *base, + Thread_Control *thread +); -void _Scheduler_simple_smp_Extract( Thread_Control *thread ); +void _Scheduler_simple_smp_Extract( + Scheduler_Control *base, + Thread_Control *thread +); -void _Scheduler_simple_smp_Yield( Thread_Control *thread ); +void _Scheduler_simple_smp_Yield( + Scheduler_Control *base, + Thread_Control *thread +); -void _Scheduler_simple_smp_Schedule( Thread_Control *thread ); +void _Scheduler_simple_smp_Schedule( + Scheduler_Control *base, + Thread_Control *thread +); void _Scheduler_simple_smp_Start_idle( + Scheduler_Control *base, Thread_Control *thread, Per_CPU_Control *cpu ); |