aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/threads.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2007-09-25 18:38:01 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2007-09-25 18:38:01 +0000
commit619b739d93252f4fc78a98e1bd1c36e9edbbca28 (patch)
treeab5a24e0e8be33bebab0ae9f9d85dd602328da2f /src/include/threads.h
parentf6c9ebb65b9a1239638125b7c1f910f12c722b79 (diff)
downloadChibiOS-619b739d93252f4fc78a98e1bd1c36e9edbbca28.tar.gz
ChibiOS-619b739d93252f4fc78a98e1bd1c36e9edbbca28.tar.bz2
ChibiOS-619b739d93252f4fc78a98e1bd1c36e9edbbca28.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@21 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/include/threads.h')
-rw-r--r--src/include/threads.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/threads.h b/src/include/threads.h
index f170ce368..d8937433f 100644
--- a/src/include/threads.h
+++ b/src/include/threads.h
@@ -80,7 +80,7 @@ struct Thread {
#endif
};
/** Machine dependent processor context.*/
- Context p_ctx;
+ Context p_ctx;
/*
* Start of the optional fields. Note, the null thread may also let its
* stack overwrite the following fields since it never uses semaphores,
@@ -104,8 +104,9 @@ struct Thread {
#endif
#ifdef CH_USE_RT_SEMAPHORES
/** Priority backup after acquiring a RT semaphore.*/
+ t_prio p_bakprio;
/** RT semaphores depth counter.*/
- int p_rtcnt;
+ WORD16 p_rtcnt;
#endif
};