aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/ports/e200/chcore.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-02-08 09:34:43 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-02-08 09:34:43 +0000
commit1d9041f77bc376c92b663bc69fb57ec855531039 (patch)
treeae552b5c8456d9141241da20bc17a32d7dca4e57 /os/rt/ports/e200/chcore.h
parentadda7d09f60997bdfbc3164d17809d1265c268a3 (diff)
downloadChibiOS-1d9041f77bc376c92b663bc69fb57ec855531039.tar.gz
ChibiOS-1d9041f77bc376c92b663bc69fb57ec855531039.tar.bz2
ChibiOS-1d9041f77bc376c92b663bc69fb57ec855531039.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6671 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/ports/e200/chcore.h')
-rw-r--r--os/rt/ports/e200/chcore.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/rt/ports/e200/chcore.h b/os/rt/ports/e200/chcore.h
index a043bb0b0..0255a0f1d 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((void *)ntp, (void *)otp); \
+ _port_switch(ntp, otp); \
}
#endif
@@ -373,7 +373,7 @@ struct context {
#ifdef __cplusplus
extern "C" {
#endif
- void _port_switch(void *ntp, void *otp);
+ void _port_switch(thread_t *ntp, thread_t *otp);
void _port_thread_start(void);
#ifdef __cplusplus
}