From d22817da04c462ea289ee52a055594f0eebad80d Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Tue, 7 Mar 2017 10:45:49 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10121 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/common/ports/e200/compilers/GCC/chcoreasm.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os/common') diff --git a/os/common/ports/e200/compilers/GCC/chcoreasm.S b/os/common/ports/e200/compilers/GCC/chcoreasm.S index b39ffeef3..fd6e1e8a5 100644 --- a/os/common/ports/e200/compilers/GCC/chcoreasm.S +++ b/os/common/ports/e200/compilers/GCC/chcoreasm.S @@ -80,8 +80,8 @@ _port_switch: se_stw r0, 0(sp) e_stmw r14, 4(sp) - se_stw sp, 12(r4) - se_lwz sp, 12(r3) + se_stw sp, CONTEXT_OFFSET(r4) + se_lwz sp, CONTEXT_OFFSET(r3) e_lmw r14, 4(sp) se_lwz r0, 0(sp) -- cgit v1.2.3