aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/include/chthreads.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-08-21 08:38:14 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-08-21 08:38:14 +0000
commit138c0f900d823b2c953038048bc40b14610f958a (patch)
tree6c446a2ec08cba09ac2345dbb9b708139e3e1c85 /os/kernel/include/chthreads.h
parent29226ecec7052b72ba82e8ba2eedb4c91d27ff28 (diff)
downloadChibiOS-138c0f900d823b2c953038048bc40b14610f958a.tar.gz
ChibiOS-138c0f900d823b2c953038048bc40b14610f958a.tar.bz2
ChibiOS-138c0f900d823b2c953038048bc40b14610f958a.zip
Added new kernel hooks (on halt and on systick).
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2136 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel/include/chthreads.h')
-rw-r--r--os/kernel/include/chthreads.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/os/kernel/include/chthreads.h b/os/kernel/include/chthreads.h
index 1e659b768..9748166b9 100644
--- a/os/kernel/include/chthreads.h
+++ b/os/kernel/include/chthreads.h
@@ -160,8 +160,10 @@ struct Thread {
*/
void *p_mpool;
#endif
+#if defined(THREAD_EXT_FIELDS_HOOK)
/* Extra fields defined in chconf.h.*/
- THREAD_EXT_FIELDS
+ THREAD_EXT_FIELDS_HOOK
+#endif
};
/** @brief Thread state: Ready to run, waiting on the ready list.*/