From cf957f9d4a54d49f66d9af4ee7c7b4bb90660409 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 6 Feb 2014 10:37:50 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6668 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/rt/ports/e200/chcore.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os/rt/ports/e200') 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 } -- cgit v1.2.3