diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-04-01 11:48:59 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-04-03 11:13:26 +0200 |
commit | 494c2e300215c4bc539d243d6a5d060e0e2f2ef2 (patch) | |
tree | 8ba7c54667cad8331430bf719b4a1bd94ed3ac8b /cpukit/score/src/schedulersmpstartidle.c | |
parent | score: Rename Priority_bit_map_Control (diff) | |
download | rtems-494c2e300215c4bc539d243d6a5d060e0e2f2ef2.tar.bz2 |
score: Move priority bit map to scheduler instance
Delete global variables _Priority_Major_bit_map and _Priority_Bit_map.
This makes it possible to use multiple priority scheduler instances for
example with clustered/partitioned scheduling on SMP.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/src/schedulersmpstartidle.c | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/cpukit/score/src/schedulersmpstartidle.c b/cpukit/score/src/schedulersmpstartidle.c deleted file mode 100644 index 75d1c8f8f5..0000000000 --- a/cpukit/score/src/schedulersmpstartidle.c +++ /dev/null @@ -1,40 +0,0 @@ -/** - * @file - * - * @brief SMP Scheduler Start Idle Operation - * - * @ingroup ScoreSchedulerSMP - */ - -/* - * Copyright (c) 2013 embedded brains GmbH. All rights reserved. - * - * embedded brains GmbH - * Dornierstr. 4 - * 82178 Puchheim - * Germany - * <rtems@embedded-brains.de> - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#if HAVE_CONFIG_H - #include "config.h" -#endif - -#include <rtems/score/schedulersmpimpl.h> -#include <rtems/score/chainimpl.h> - -void _Scheduler_SMP_Start_idle( - Thread_Control *thread, - Per_CPU_Control *cpu -) -{ - Scheduler_SMP_Control *self = _Scheduler_SMP_Instance(); - - thread->is_scheduled = true; - _Thread_Set_CPU( thread, cpu ); - _Chain_Append_unprotected( &self->scheduled, &thread->Object.Node ); -} |