diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-02-06 10:37:50 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-02-06 10:37:50 +0000 |
commit | cf957f9d4a54d49f66d9af4ee7c7b4bb90660409 (patch) | |
tree | a7b63f1e94ec6a9d280a4ad9aadd1c20846aab5c /os/rt/ports/e200 | |
parent | 23f759922d415d9adaab70424b2c67ff0d9b7181 (diff) | |
download | ChibiOS-cf957f9d4a54d49f66d9af4ee7c7b4bb90660409.tar.gz ChibiOS-cf957f9d4a54d49f66d9af4ee7c7b4bb90660409.tar.bz2 ChibiOS-cf957f9d4a54d49f66d9af4ee7c7b4bb90660409.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6668 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/ports/e200')
-rw-r--r-- | os/rt/ports/e200/chcore.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/rt/ports/e200/chcore.h b/os/rt/ports/e200/chcore.h index 0255a0f1d..a043bb0b0 100644 --- a/os/rt/ports/e200/chcore.h +++ b/os/rt/ports/e200/chcore.h @@ -340,7 +340,7 @@ struct context { register struct port_intctx *sp asm ("%r1"); \
if ((stkalign_t *)(sp - 1) < otp->p_stklimit) \
chDbgPanic("stack overflow"); \
- _port_switch(ntp, otp); \
+ _port_switch((void *)ntp, (void *)otp); \
}
#endif
@@ -373,7 +373,7 @@ struct context { #ifdef __cplusplus
extern "C" {
#endif
- void _port_switch(thread_t *ntp, thread_t *otp);
+ void _port_switch(void *ntp, void *otp);
void _port_thread_start(void);
#ifdef __cplusplus
}
|