diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-10-03 13:52:13 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-10-03 13:52:13 +0000 |
commit | c17f03701a8d102888ce06752c3b53fc9bd2ddac (patch) | |
tree | ac4b4c8a8335f325c0a0fe03c141e2faaf63a7b1 /os/kernel/include | |
parent | 8579b5559cb2501dd8d0f56ab42f9209a3860c58 (diff) | |
download | ChibiOS-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.h | 3 |
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
|