aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-12-15 21:22:31 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-12-15 21:22:31 +0000
commit188bf5766fe5faa425b1f66d7bd2cccb6ef52632 (patch)
treecb8c80e96de88d9d871062ad02aa2c75cbfcb05b /os
parentc6b288f985bd8ea78fca5828a1bc4c7041e0b577 (diff)
downloadChibiOS-188bf5766fe5faa425b1f66d7bd2cccb6ef52632.tar.gz
ChibiOS-188bf5766fe5faa425b1f66d7bd2cccb6ef52632.tar.bz2
ChibiOS-188bf5766fe5faa425b1f66d7bd2cccb6ef52632.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2482 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r--os/ports/IAR/ARMCMx/chcore_v7m.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/os/ports/IAR/ARMCMx/chcore_v7m.h b/os/ports/IAR/ARMCMx/chcore_v7m.h
index e43ebbd76..7f7112d45 100644
--- a/os/ports/IAR/ARMCMx/chcore_v7m.h
+++ b/os/ports/IAR/ARMCMx/chcore_v7m.h
@@ -60,7 +60,7 @@ struct intctx {
#endif
/**
- * @brief Platform dependent part of the @p chThdInit() API.
+ * @brief Platform dependent part of the @p chThdCreateI() API.
* @details This code usually setup the context switching frame represented
* by an @p intctx structure.
*/
@@ -68,9 +68,9 @@ struct intctx {
tp->p_ctx.r13 = (struct intctx *)((uint8_t *)workspace + \
wsize - \
sizeof(struct intctx)); \
- tp->p_ctx.r13->r4 = pf; \
+ tp->p_ctx.r13->r4 = (void *)pf; \
tp->p_ctx.r13->r5 = arg; \
- tp->p_ctx.r13->lr = _port_thread_start; \
+ tp->p_ctx.r13->lr = (void *)_port_thread_start; \
}
/**