summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/scheduleredf.h
diff options
context:
space:
mode:
authorMathew Kallada <matkallada@gmail.com>2013-01-04 09:01:21 -0600
committerJennifer Averett <jennifer.averett@oarcorp.com>2013-01-04 09:01:21 -0600
commita1f9934a8f096489620362620ef610b52a3c4ae1 (patch)
tree8900752d54ec06326cfde1b783c2fc5ecb593170 /cpukit/score/include/rtems/score/scheduleredf.h
parentscore: Doxygen Clean Up Task #9 (diff)
downloadrtems-a1f9934a8f096489620362620ef610b52a3c4ae1.tar.bz2
score: Doxygen Clean Up Task #3
Diffstat (limited to 'cpukit/score/include/rtems/score/scheduleredf.h')
-rw-r--r--cpukit/score/include/rtems/score/scheduleredf.h40
1 files changed, 25 insertions, 15 deletions
diff --git a/cpukit/score/include/rtems/score/scheduleredf.h b/cpukit/score/include/rtems/score/scheduleredf.h
index 8381184858..5c5c2c4f97 100644
--- a/cpukit/score/include/rtems/score/scheduleredf.h
+++ b/cpukit/score/include/rtems/score/scheduleredf.h
@@ -1,6 +1,8 @@
/**
* @file rtems/score/scheduleredf.h
*
+ * @brief Data Related to the Manipulation of Threads for the EDF Scheduler
+ *
* This include file contains all the constants and structures associated
* with the manipulation of threads for the EDF scheduler.
*/
@@ -27,6 +29,10 @@ extern "C" {
#endif
/**
+ * @defgroup ScoreScheduler
+ *
+ * @ingroup Score
+ *
* @addtogroup ScoreScheduler
*
*/
@@ -98,14 +104,14 @@ typedef struct {
extern RBTree_Control _Scheduler_EDF_Ready_queue;
/**
- * @brief Scheduler EDF Initialize
+ * @brief Initialize EDF scheduler.
*
* This routine initializes the EDF scheduler.
*/
void _Scheduler_EDF_Initialize( void );
/**
- * @brief Removes Thread from Ready Queue
+ * @brief Removes thread from ready queue.
*
* This routine removes @a the_thread from the scheduling decision,
* that is, removes it from the ready queue. It performs
@@ -119,7 +125,8 @@ void _Scheduler_EDF_Block(
);
/**
- * @brief Scheduler EDF Schedule
+ * @brief Sets the heir thread to be the next ready thread
+ * in the rbtree ready queue.
*
* This kernel routine sets the heir thread to be the next ready thread
* in the rbtree ready queue.
@@ -127,7 +134,7 @@ void _Scheduler_EDF_Block(
void _Scheduler_EDF_Schedule( void );
/**
- * @brief Scheduler EDF Allocate
+ * @brief Allocates EDF specific information of @a the_thread.
*
* This routine allocates EDF specific information of @a the_thread.
*
@@ -139,7 +146,7 @@ void *_Scheduler_EDF_Allocate(
);
/**
- * @brief Frees EDF information of a thread
+ * @brief Frees EDF information of a thread.
*
* This routine frees the EDF specific information of @a the_thread.
*
@@ -151,7 +158,7 @@ void _Scheduler_EDF_Free(
);
/**
- * @brief Scheduler EDF Update
+ * @brief Updates position in the ready queue of @a the_thread.
*
* This routine updates position in the ready queue of @a the_thread.
*
@@ -163,7 +170,7 @@ void _Scheduler_EDF_Update(
);
/**
- * @brief Scheduler EDF Unblock
+ * @brief Adds @a the_thread to the scheduling decision.
*
* This routine adds @a the_thread to the scheduling decision, that is,
* adds it to the ready queue and updates any appropriate scheduling
@@ -176,7 +183,9 @@ void _Scheduler_EDF_Unblock(
);
/**
- * @brief Scheduler EDF Yield
+ * @brief invoked when a thread wishes to voluntarily
+ * transfer control of the processor to another thread
+ * with equal deadline.
*
* This routine is invoked when a thread wishes to voluntarily
* transfer control of the processor to another thread in the queue with
@@ -189,7 +198,7 @@ void _Scheduler_EDF_Unblock(
void _Scheduler_EDF_Yield( void );
/**
- * @brief Scheduler EDF Enqueue
+ * @brief Put @a the_thread to the rbtree ready queue.
*
* This routine puts @a the_thread to the rbtree ready queue.
*
@@ -200,7 +209,7 @@ void _Scheduler_EDF_Enqueue(
);
/**
- * @brief Enqueues a thread to the ready queue
+ * @brief Enqueue a thread to the ready queue.
*
* This routine puts @a the_thread to the rbtree ready queue.
* For the EDF scheduler this is the same as @a _Scheduler_EDF_Enqueue.
@@ -212,7 +221,8 @@ void _Scheduler_EDF_Enqueue_first(
);
/**
- * @brief Scheduler EDF Extract
+ * @brief Remove a specific thread from the scheduler's set
+ * of ready threads.
*
* This routine removes a specific thread from the scheduler's set
* of ready threads.
@@ -224,12 +234,12 @@ void _Scheduler_EDF_Extract(
);
/**
- * @brief Scheduler EDF Priority compare
+ * @brief Explicitly compare absolute dedlines (priorities) of threads.
*
* This routine explicitly compares absolute dedlines (priorities) of threads.
* In case of EDF scheduling time overflow is taken into account.
*
- * @return >0 for p1 > p2; 0 for p1 == p2; <0 for p1 < p2.
+ * @retval >0 for p1 > p2; 0 for p1 == p2; <0 for p1 < p2.
*/
int _Scheduler_EDF_Priority_compare (
Priority_Control p1,
@@ -237,7 +247,7 @@ int _Scheduler_EDF_Priority_compare (
);
/**
- * @brief Scheduler EDF Release job
+ * @brief Called when a new job of task is released.
*
* This routine is called when a new job of task is released.
* It is called only from Rate Monotonic manager in the beginning
@@ -260,4 +270,4 @@ void _Scheduler_EDF_Release_job (
/**@}*/
#endif
-/* end of include file */
+/* end of include file */ \ No newline at end of file