aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/include
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-10-03 13:52:13 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-10-03 13:52:13 +0000
commitc17f03701a8d102888ce06752c3b53fc9bd2ddac (patch)
treeac4b4c8a8335f325c0a0fe03c141e2faaf63a7b1 /os/kernel/include
parent8579b5559cb2501dd8d0f56ab42f9209a3860c58 (diff)
downloadChibiOS-c17f03701a8d102888ce06752c3b53fc9bd2ddac.tar.gz
ChibiOS-c17f03701a8d102888ce06752c3b53fc9bd2ddac.tar.bz2
ChibiOS-c17f03701a8d102888ce06752c3b53fc9bd2ddac.zip
Added GC persistence to the ch_debug object (ex ch_root).
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4732 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel/include')
-rw-r--r--os/kernel/include/chregistry.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/os/kernel/include/chregistry.h b/os/kernel/include/chregistry.h
index dc9fe4225..0669dc43f 100644
--- a/os/kernel/include/chregistry.h
+++ b/os/kernel/include/chregistry.h
@@ -55,7 +55,7 @@ typedef struct {
uint8_t cf_off_preempt; /**< @brief Offset of @p p_preempt
field. */
uint8_t cf_off_time; /**< @brief Offset of @p p_time field. */
-} chroot_t;
+} chdebug_t;
/**
* @name Macro Functions
@@ -116,6 +116,7 @@ typedef struct {
#ifdef __cplusplus
extern "C" {
#endif
+ extern volatile ROMCONST chdebug_t ch_debug;
Thread *chRegFirstThread(void);
Thread *chRegNextThread(Thread *tp);
#ifdef __cplusplus