aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/threads.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-01-10 15:04:57 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-01-10 15:04:57 +0000
commit98749abfdfc28095eb45db8d594596c13645ed08 (patch)
tree656efb0957c86e9448bb1d3c2ec389b84f44de08 /src/include/threads.h
parenta746b895fd7e6be0d430c2fa9624d580b44986c6 (diff)
downloadChibiOS-98749abfdfc28095eb45db8d594596c13645ed08.tar.gz
ChibiOS-98749abfdfc28095eb45db8d594596c13645ed08.tar.bz2
ChibiOS-98749abfdfc28095eb45db8d594596c13645ed08.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@175 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/include/threads.h')
-rw-r--r--src/include/threads.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/threads.h b/src/include/threads.h
index ba53e6158..a0c2189da 100644
--- a/src/include/threads.h
+++ b/src/include/threads.h
@@ -47,6 +47,8 @@ struct Thread {
t_tstate p_state;
/** Mode flags.*/
t_tmode p_flags;
+ /** Machine dependent processor context.*/
+ Context p_ctx;
/*
* The following fields are merged in unions because they are all
* state-specific fields. This trick saves some extra space for each
@@ -79,8 +81,6 @@ struct Thread {
void *p_wtobjp;
#endif
};
- /** Machine dependent processor context.*/
- Context p_ctx;
/*
* Start of the optional fields.
*/