diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-07-19 12:22:31 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-07-19 12:22:31 +0000 |
commit | 84e044f176cee7c6946b24c36c90f63534b5b369 (patch) | |
tree | e8ca42b24b64273a7d1d6aa35f7aae07b1d6d39a /os/kernel/templates/chcore.h | |
parent | 4245ba7659ecdaadd47b0cdd61f3255b83f87d4f (diff) | |
download | ChibiOS-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/templates/chcore.h')
-rw-r--r-- | os/kernel/templates/chcore.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/os/kernel/templates/chcore.h b/os/kernel/templates/chcore.h index f73b3b0c8..c993c724e 100644 --- a/os/kernel/templates/chcore.h +++ b/os/kernel/templates/chcore.h @@ -124,7 +124,7 @@ struct intctx { };
/**
- * @brief Platform dependent part of the @p Thread structure.
+ * @brief Platform dependent part of the @p thread_t structure.
* @details This structure usually contains just the saved stack pointer
* defined as a pointer to a @p intctx structure.
*/
@@ -148,7 +148,7 @@ struct context { /**
* @brief Computes the thread working area global size.
*/
-#define THD_WA_SIZE(n) STACK_ALIGN(sizeof(Thread) + \
+#define THD_WA_SIZE(n) STACK_ALIGN(sizeof(thread_t) + \
sizeof(struct intctx) + \
sizeof(struct extctx) + \
(n) + (PORT_INT_REQUIRED_STACK))
@@ -203,7 +203,7 @@ extern "C" { void port_enable(void);
void port_wait_for_interrupt(void);
void port_halt(void);
- void port_switch(Thread *ntp, Thread *otp);
+ void port_switch(thread_t *ntp, thread_t *otp);
#ifdef __cplusplus
}
#endif
|