diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-05-13 16:03:05 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-05-14 14:46:19 +0200 |
commit | beab7329fca655c93743fbb590d00bb4ea5a6d78 (patch) | |
tree | fbeb6b27f887b46a41f84acc64aecfce18686540 /cpukit/score/include/rtems/score/schedulerpriorityaffinitysmp.h | |
parent | score: Scheduler documentation (diff) | |
download | rtems-beab7329fca655c93743fbb590d00bb4ea5a6d78.tar.bz2 |
score: Introduce scheduler nodes
Rename scheduler per-thread information into scheduler nodes using
Scheduler_Node as the base type. Use inheritance for specialized
schedulers.
Move the scheduler specific states from the thread control block into
the scheduler node structure.
Validate the SMP scheduler node state transitions in case RTEMS_DEBUG is
defined.
Diffstat (limited to 'cpukit/score/include/rtems/score/schedulerpriorityaffinitysmp.h')
-rw-r--r-- | cpukit/score/include/rtems/score/schedulerpriorityaffinitysmp.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/cpukit/score/include/rtems/score/schedulerpriorityaffinitysmp.h b/cpukit/score/include/rtems/score/schedulerpriorityaffinitysmp.h index c327fccb6e..e86fd35c6f 100644 --- a/cpukit/score/include/rtems/score/schedulerpriorityaffinitysmp.h +++ b/cpukit/score/include/rtems/score/schedulerpriorityaffinitysmp.h @@ -118,25 +118,20 @@ bool _Scheduler_priority_affinity_SMP_Set_affinity( ); /** - * This structure handles affinity specific data of a thread. - * - * @note The attribute priority_sched_info must remain - * the first element in the structure so that the - * Scheduler_priority_XXX methods will continue to - * function. + * @brief Scheduler node specialization for Deterministic Priority Affinity SMP + * schedulers. */ typedef struct { - /** - * Data for the Priority Scheduler. + * @brief SMP priority scheduler node. */ - Scheduler_priority_Per_thread Priority_sched_info; + Scheduler_priority_SMP_Node Base; /** * Structure containing affinity set data and size */ CPU_set_Control Affinity; -} Scheduler_priority_affinity_SMP_Per_thread; +} Scheduler_priority_affinity_SMP_Node; /** @} */ |