[rtems-docs commit] c-user: Update CONFIGURE_SCHEDULER_NAME

Sebastian Huber sebh at rtems.org
Wed Mar 7 14:35:21 UTC 2018


Module:    rtems-docs
Branch:    master
Commit:    8010b6e3ca18a25ac580f8ce9d7f29440a6c242c
Changeset: http://git.rtems.org/rtems-docs/commit/?id=8010b6e3ca18a25ac580f8ce9d7f29440a6c242c

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Mar  7 13:43:07 2018 +0100

c-user: Update CONFIGURE_SCHEDULER_NAME

---

 c-user/configuring_a_system.rst | 16 +++++++++-------
 c-user/scheduling_concepts.rst  | 20 ++++++++++++++++++--
 2 files changed, 27 insertions(+), 9 deletions(-)

diff --git a/c-user/configuring_a_system.rst b/c-user/configuring_a_system.rst
index 6b7f487..ed32606 100644
--- a/c-user/configuring_a_system.rst
+++ b/c-user/configuring_a_system.rst
@@ -3558,13 +3558,15 @@ RANGE:
 
 DEFAULT VALUE:
     The default name is
-      - ``"UCBS"`` for the Uni-Processor CBS scheduler,
-      - ``"UEDF"`` for the Uni-Processor EDF scheduler,
-      - ``"UPD "`` for the Uni-Processor Deterministic Priority scheduler,
-      - ``"UPS "`` for the Uni-Processor Simple Priority scheduler,
-      - ``"MPA "`` for the Multi-Processor Priority Affinity scheduler, and
-      - ``"MPD "`` for the Multi-Processor Deterministic Priority scheduler, and
-      - ``"MPS "`` for the Multi-Processor Simple Priority scheduler.
+
+      - ``"MEDF"`` for the :ref:`EDF SMP Scheduler <SchedulerSMPEDF>`,
+      - ``"MPA "`` for the :ref:`Aribitary Processor Affinity Priority SMP Scheduler <SchedulerSMPPriorityAffinity>`,
+      - ``"MPD "`` for the :ref:`Deterministic Priority SMP Scheduler <SchedulerSMPPriority>`,
+      - ``"MPS "`` for the :ref:`Simple Priority SMP Scheduler <SchedulerSMPPrioritySimple>`,
+      - ``"UCBS"`` for the :ref:`Uniprocessor CBS Scheduler <SchedulerCBS>`,
+      - ``"UEDF"`` for the :ref:`Uniprocessor EDF Scheduler <SchedulerEDF>`,
+      - ``"UPD "`` for the :ref:`Uniprocessor Deterministic Priority Scheduler <SchedulerPriority>`, and
+      - ``"UPS "`` for the :ref:`Uniprocessor Simple Priority Scheduler <SchedulerPrioritySimple>`.
 
 DESCRIPTION:
     Schedulers can be identified via ``rtems_scheduler_ident``.  The name of
diff --git a/c-user/scheduling_concepts.rst b/c-user/scheduling_concepts.rst
index ff47e0a..5664d94 100644
--- a/c-user/scheduling_concepts.rst
+++ b/c-user/scheduling_concepts.rst
@@ -122,6 +122,8 @@ Uniprocessor Schedulers
 All uniprocessor schedulers included in RTEMS are priority based.  The
 processor is allocated to the highest priority task allowed to run.
 
+.. _SchedulerPriority:
+
 Deterministic Priority Scheduler
 --------------------------------
 
@@ -138,6 +140,8 @@ system configured to support 256 priority levels.
 
 This scheduler is only aware of a single core.
 
+.. _SchedulerPrioritySimple:
+
 Simple Priority Scheduler
 -------------------------
 
@@ -156,6 +160,8 @@ This scheduler is only aware of a single core.
 
 .. index:: earliest deadline first scheduling
 
+.. _SchedulerEDF:
+
 Earliest Deadline First Scheduler
 ---------------------------------
 
@@ -189,6 +195,8 @@ deadline. Moreover, the ``rtems_rate_monotonic_cancel`` and
 
 .. index:: constant bandwidth server scheduling
 
+.. _SchedulerCBS:
+
 Constant Bandwidth Server Scheduling (CBS)
 ------------------------------------------
 
@@ -224,12 +232,14 @@ All SMP schedulers included in RTEMS are priority based.  The processors
 managed by a scheduler instance are allocated to the highest priority tasks
 allowed to run.
 
+.. _SchedulerSMPEDF:
+
 Earliest Deadline First SMP Scheduler
 -------------------------------------
 
 A job-level fixed-priority scheduler using the Earliest Deadline First (EDF)
 method.  By convention, the maximum priority level is
-:math:`min(INT\_MAX, 2^{63} - 1)` for background tasks.  The tasks with an
+:math:`min(INT\_MAX, 2^{62} - 1)` for background tasks.  The tasks with an
 active deadline have a higher priority than the background tasks.  This
 scheduler supports task processor affinities of one-to-one and one-to-all, e.g.
 a task can execute on exactly one processor or all processors managed by the
@@ -239,9 +249,11 @@ must contain all online processors to select the one-to-all affinity.  This is
 to avoid pathological cases if processors are added/removed to/from the
 scheduler instance at run-time.  In case the processor affinity set contains
 not all online processors, then a one-to-one affinity will be used selecting
-the processor with the largest index within the set of processores currently
+the processor with the largest index within the set of processors currently
 owned by the scheduler instance.
 
+.. _SchedulerSMPPriority:
+
 Deterministic Priority SMP Scheduler
 ------------------------------------
 
@@ -250,6 +262,8 @@ priority level for the ready tasks.  The maximum priority level is
 configurable.  By default, the maximum priority level is 255 (256 priority
 levels).
 
+.. _SchedulerSMPPrioritySimple:
+
 Simple Priority SMP Scheduler
 -----------------------------
 
@@ -257,6 +271,8 @@ A fixed-priority scheduler which uses a sorted chain for the ready tasks.  By
 convention, the maximum priority level is 255.  The implementation limit is
 actually :math:`2^{64} - 1`.
 
+.. _SchedulerSMPPriorityAffinity:
+
 Aribitary Processor Affinity Priority SMP Scheduler
 ---------------------------------------------------
 



More information about the vc mailing list