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 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'os/rt') 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. * . -- cgit v1.2.3