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/include/rtems/score/schedulersmp.h | |
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 '')
-rw-r--r-- | cpukit/score/include/rtems/score/schedulersmp.h | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/cpukit/score/include/rtems/score/schedulersmp.h b/cpukit/score/include/rtems/score/schedulersmp.h index 458a31292f..8f5a390a26 100644 --- a/cpukit/score/include/rtems/score/schedulersmp.h +++ b/cpukit/score/include/rtems/score/schedulersmp.h @@ -41,19 +41,13 @@ extern "C" { */ typedef struct { - Chain_Control Scheduled; -} Scheduler_SMP_Control; - -typedef struct { - Scheduler_SMP_Control Base; - Chain_Control Ready; -} Scheduler_simple_SMP_Control; + /** + * @brief Basic scheduler context. + */ + Scheduler_Context Base; -typedef struct { - Scheduler_SMP_Control Base; - Priority_bit_map_Control Bit_map; - Chain_Control Ready[ 1 ]; -} Scheduler_priority_SMP_Control; + Chain_Control Scheduled; +} Scheduler_SMP_Context; /** @} */ |