aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/include/chregistry.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-07-19 12:22:31 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-07-19 12:22:31 +0000
commit84e044f176cee7c6946b24c36c90f63534b5b369 (patch)
treee8ca42b24b64273a7d1d6aa35f7aae07b1d6d39a /os/kernel/include/chregistry.h
parent4245ba7659ecdaadd47b0cdd61f3255b83f87d4f (diff)
downloadChibiOS-84e044f176cee7c6946b24c36c90f63534b5b369.tar.gz
ChibiOS-84e044f176cee7c6946b24c36c90f63534b5b369.tar.bz2
ChibiOS-84e044f176cee7c6946b24c36c90f63534b5b369.zip
Renamed Thread to thread_t.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@5995 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel/include/chregistry.h')
-rw-r--r--os/kernel/include/chregistry.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/os/kernel/include/chregistry.h b/os/kernel/include/chregistry.h
index 446de7aca..552e9d598 100644
--- a/os/kernel/include/chregistry.h
+++ b/os/kernel/include/chregistry.h
@@ -41,7 +41,7 @@ typedef struct {
uint16_t ch_version; /**< @brief Encoded ChibiOS/RT version. */
uint8_t ch_ptrsize; /**< @brief Size of a pointer. */
uint8_t ch_timesize; /**< @brief Size of a @p systime_t. */
- uint8_t ch_threadsize; /**< @brief Size of a @p Thread struct. */
+ uint8_t ch_threadsize; /**< @brief Size of a @p thread_t. */
uint8_t cf_off_prio; /**< @brief Offset of @p p_prio field. */
uint8_t cf_off_ctx; /**< @brief Offset of @p p_ctx field. */
uint8_t cf_off_newer; /**< @brief Offset of @p p_newer field. */
@@ -108,7 +108,7 @@ typedef struct {
* @param[in] tp thread to add to the registry
*/
#define REG_INSERT(tp) { \
- (tp)->p_newer = (Thread *)&rlist; \
+ (tp)->p_newer = (thread_t *)&rlist; \
(tp)->p_older = rlist.r_older; \
(tp)->p_older->p_newer = rlist.r_older = (tp); \
}
@@ -117,8 +117,8 @@ typedef struct {
extern "C" {
#endif
extern ROMCONST chdebug_t ch_debug;
- Thread *chRegFirstThread(void);
- Thread *chRegNextThread(Thread *tp);
+ thread_t *chRegFirstThread(void);
+ thread_t *chRegNextThread(thread_t *tp);
#ifdef __cplusplus
}
#endif