diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-01-19 10:41:54 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-01-19 10:41:54 +0000 |
commit | f8b4fca89a8dd31989a3d21e4c6fb4175aba4110 (patch) | |
tree | ef434d3f17fdacc2db73bff3d8bc3ca62a1f0c19 /src | |
parent | de5e04fc611f3b5cd5c16f39d1063c37110a9467 (diff) | |
download | ChibiOS-f8b4fca89a8dd31989a3d21e4c6fb4175aba4110.tar.gz ChibiOS-f8b4fca89a8dd31989a3d21e4c6fb4175aba4110.tar.bz2 ChibiOS-f8b4fca89a8dd31989a3d21e4c6fb4175aba4110.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@642 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src')
-rw-r--r-- | src/include/threads.h | 2 | ||||
-rw-r--r-- | src/templates/chcore.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/include/threads.h b/src/include/threads.h index cd3856b34..68f7f9bb9 100644 --- a/src/include/threads.h +++ b/src/include/threads.h @@ -49,7 +49,7 @@ struct Thread { /** Mode flags. */ tmode_t p_flags; /** Machine dependent processor context.*/ - Context p_ctx; + struct context p_ctx; #ifdef CH_USE_NESTED_LOCKS cnt_t p_locks; #endif diff --git a/src/templates/chcore.h b/src/templates/chcore.h index e4cf7d89e..7c3fe4f0d 100644 --- a/src/templates/chcore.h +++ b/src/templates/chcore.h @@ -57,9 +57,9 @@ struct intctx { * This structure usually contains just the saved stack pointer defined as a
* pointer to a @p intctx structure.
*/
-typedef struct {
+struct context {
struct intctx *sp;
-} Context;
+};
/**
* Platform dependent part of the @p chThdInit() API.
|