diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-03-07 10:45:49 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-03-07 10:45:49 +0000 |
commit | d22817da04c462ea289ee52a055594f0eebad80d (patch) | |
tree | 2e3b9eadf58303ff54663a3bfc84d79a80a4eb92 /os/common/ports/e200 | |
parent | 1eabe1e91173d56ccbd85092570b3d0bfb8346e9 (diff) | |
download | ChibiOS-d22817da04c462ea289ee52a055594f0eebad80d.tar.gz ChibiOS-d22817da04c462ea289ee52a055594f0eebad80d.tar.bz2 ChibiOS-d22817da04c462ea289ee52a055594f0eebad80d.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10121 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/common/ports/e200')
-rw-r--r-- | os/common/ports/e200/compilers/GCC/chcoreasm.S | 4 |
1 files changed, 2 insertions, 2 deletions
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)
|