From 1ec4c6230826ab639607e3fbd1dd9464fcb22dbe Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 13 Oct 2014 14:03:18 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7392 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/rt/include/chschd.h | 3 +++ os/rt/src/chdebug.c | 4 ++-- os/various/memstreams.h | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) (limited to 'os') diff --git a/os/rt/include/chschd.h b/os/rt/include/chschd.h index 4d04ee56e..b90ed077b 100644 --- a/os/rt/include/chschd.h +++ b/os/rt/include/chschd.h @@ -245,6 +245,9 @@ struct thread { void *p_mpool; #endif #if CH_DBG_STATISTICS || defined(__DOXYGEN__) + /** + * @brief Thread statistics. + */ time_measurement_t p_stats; #endif #if defined(CH_CFG_THREAD_EXTRA_FIELDS) diff --git a/os/rt/src/chdebug.c b/os/rt/src/chdebug.c index d1b792921..f9408d515 100644 --- a/os/rt/src/chdebug.c +++ b/os/rt/src/chdebug.c @@ -46,11 +46,11 @@ * - Called from an ISR. * - Not called from a critical zone. * . - * - SV#6, misplaced @p chSysLockFromIsr(). + * - SV#6, misplaced @p chSysLockFromISR(). * - Not called from an ISR. * - Called from a critical zone. * . - * - SV#7, misplaced @p chSysUnlockFromIsr(). + * - SV#7, misplaced @p chSysUnlockFromISR(). * - Not called from an ISR. * - Not called from a critical zone. * . diff --git a/os/various/memstreams.h b/os/various/memstreams.h index 7806f9f0a..efaeca4ff 100644 --- a/os/various/memstreams.h +++ b/os/various/memstreams.h @@ -42,7 +42,7 @@ /*===========================================================================*/ /** - * @brief @p RamStream specific data. + * @brief @p MemStream specific data. */ #define _memory_stream_data \ _base_sequential_stream_data \ -- cgit v1.2.3