summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/schedulersimple.c
diff options
context:
space:
mode:
authorChristopher Kerl <zargyyoyo@gmail.com>2012-11-29 13:39:17 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-11-29 13:39:17 -0600
commit1b4758602f55e215f02e384d459c3319c6e1abab (patch)
tree8305bbedfdfec434394affeb87b86584320ea2e1 /cpukit/score/src/schedulersimple.c
parentscore misc: Score misc: Clean up Doxygen #5 (diff)
downloadrtems-1b4758602f55e215f02e384d459c3319c6e1abab.tar.bz2
score misc: Score misc: Clean up Doxygen #6 (GCI 2012)
This patch is a task from GCI 2012 which improves the Doxygen comments in the RTEMS source. http://www.google-melange.com/gci/task/view/google/gci2012/7976215
Diffstat (limited to 'cpukit/score/src/schedulersimple.c')
-rw-r--r--cpukit/score/src/schedulersimple.c35
1 files changed, 8 insertions, 27 deletions
diff --git a/cpukit/score/src/schedulersimple.c b/cpukit/score/src/schedulersimple.c
index 9b875988d6..6ba46a36b2 100644
--- a/cpukit/score/src/schedulersimple.c
+++ b/cpukit/score/src/schedulersimple.c
@@ -1,9 +1,12 @@
-/*
- * Scheduler Simple Handler / Initialize
- * Scheduler Simple Handler / Allocate (Empty Routine)
- * Scheduler Simple Handler / Update (Empty Routine)
- * Scheduler Simple Handler / Free (Empty Routine)
+/**
+ * @file
+ *
+ * @brief Scheduler Simple Functions
*
+ * @ingroup ScoreScheduler
+ */
+
+/*
* COPYRIGHT (c) 2011.
* On-Line Applications Research Corporation (OAR).
*
@@ -24,14 +27,6 @@
#include <rtems/score/thread.h>
#include <rtems/score/wkspace.h>
-/**
- * This routine does nothing, and is used as a stub for Schedule allocate
- *
- * Note: returns a non-zero value, or else thread initialize thinks the
- * allocation failed.
- *
- * The overhead of a function call will still be imposed.
- */
void * _Scheduler_simple_Allocate(
Thread_Control *the_thread
)
@@ -39,32 +34,18 @@ void * _Scheduler_simple_Allocate(
return (void*)-1; /* maybe pick an appropriate poison value */
}
-
-/**
- * This routine does nothing, and is used as a stub for Schedule update
- *
- * The overhead of a function call will still be imposed.
- */
void _Scheduler_simple_Update(
Thread_Control *the_thread
)
{
}
-/**
- * This routine does nothing, and is used as a stub for Schedule free
- *
- * The overhead of a function call will still be imposed.
- */
void _Scheduler_simple_Free(
Thread_Control *the_thread
)
{
}
-/**
- * This routine initializes the simple scheduler.
- */
void _Scheduler_simple_Initialize ( void )
{
void *f;