diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-03-19 18:08:58 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-03-19 18:08:58 +0000 |
commit | 62cb008dfa3ea503b3159398478bb78c9cf06239 (patch) | |
tree | 06069880d9829be378fe91051d595175dc54b677 /os | |
parent | b61fb43e6cc681f9fc53a5efb116accc13e0d35d (diff) | |
download | ChibiOS-62cb008dfa3ea503b3159398478bb78c9cf06239.tar.gz ChibiOS-62cb008dfa3ea503b3159398478bb78c9cf06239.tar.bz2 ChibiOS-62cb008dfa3ea503b3159398478bb78c9cf06239.zip |
Fixed bug 2973365.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1757 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/ports/GCC/ARM7/chcoreasm.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/ports/GCC/ARM7/chcoreasm.s b/os/ports/GCC/ARM7/chcoreasm.s index 098faf180..198de687a 100644 --- a/os/ports/GCC/ARM7/chcoreasm.s +++ b/os/ports/GCC/ARM7/chcoreasm.s @@ -106,8 +106,8 @@ _port_switch_thumb: _port_switch_arm:
#ifdef CH_CURRP_REGISTER_CACHE
stmfd sp!, {r4, r5, r6, r8, r9, r10, r11, lr}
- str sp, [r1, #16]
- ldr sp, [r0, #16]
+ str sp, [r1, #12]
+ ldr sp, [r0, #12]
#ifdef THUMB_PRESENT
ldmfd sp!, {r4, r5, r6, r8, r9, r10, r11, lr}
bx lr
|