diff options
Diffstat (limited to 'os/rt/src')
-rw-r--r-- | os/rt/src/chcond.c | 2 | ||||
-rw-r--r-- | os/rt/src/chstats.c | 3 | ||||
-rw-r--r-- | os/rt/src/chsys.c | 2 | ||||
-rw-r--r-- | os/rt/src/chthreads.c | 4 |
4 files changed, 9 insertions, 2 deletions
diff --git a/os/rt/src/chcond.c b/os/rt/src/chcond.c index cd6ab1d43..a9bf3cc6c 100644 --- a/os/rt/src/chcond.c +++ b/os/rt/src/chcond.c @@ -25,7 +25,7 @@ * @file chcond.c
* @brief Condition Variables code.
*
- * @addtogroup condition variables Condition Variables
+ * @addtogroup condvars
* @details This module implements the Condition Variables mechanism. Condition
* variables are an extensions to the mutex subsystem and cannot
* work alone.
diff --git a/os/rt/src/chstats.c b/os/rt/src/chstats.c index 45d8e8bd2..3c8d9ba04 100644 --- a/os/rt/src/chstats.c +++ b/os/rt/src/chstats.c @@ -78,6 +78,9 @@ void _stats_increase_irq(void) { /**
* @brief Updates context switch related statistics.
+ *
+ * @param[in] ntp the thread to be switched in
+ * @param[in] otp the thread to be switched out
*/
void _stats_ctxswc(thread_t *ntp, thread_t *otp) {
diff --git a/os/rt/src/chsys.c b/os/rt/src/chsys.c index b5c83b95a..2a60e6d69 100644 --- a/os/rt/src/chsys.c +++ b/os/rt/src/chsys.c @@ -159,6 +159,8 @@ void chSysInit(void) { * in debug mode.
* @note Can be invoked from any system state.
*
+ * @param[in] reason pointer to an error string
+ *
* @special
*/
void chSysHalt(const char *reason) {
diff --git a/os/rt/src/chthreads.c b/os/rt/src/chthreads.c index 61b0755f2..1c9508362 100644 --- a/os/rt/src/chthreads.c +++ b/os/rt/src/chthreads.c @@ -176,7 +176,7 @@ void _thread_memfill(uint8_t *startp, uint8_t *endp, uint8_t v) { * @iclass
*/
thread_t *chThdCreateI(void *wsp, size_t size,
- tprio_t prio, tfunc_t pf, void *arg) {
+ tprio_t prio, tfunc_t pf, void *arg) {
/* The thread structure is laid out in the lower part of the thread
workspace.*/
thread_t *tp = wsp;
@@ -227,6 +227,8 @@ thread_t *chThdCreateStatic(void *wsp, size_t size, * @brief Resumes a thread created with @p chThdCreateI().
*
* @param[in] tp pointer to the thread
+ * @return The pointer to the @p thread_t structure allocated for
+ * the thread into the working space area.
*
* @api
*/
|