aboutsummaryrefslogtreecommitdiffstats
path: root/os/ports/GCC/SIMIA32
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-02-02 21:25:04 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-02-02 21:25:04 +0000
commita5070b8e577dee21b30c7ef6918133344787f997 (patch)
tree9fb3323d9b91ca1c022396ead6413cc0c59b4c0a /os/ports/GCC/SIMIA32
parente515bcf581c92643c21eb6ed53ba0d0b1604fe4b (diff)
downloadChibiOS-a5070b8e577dee21b30c7ef6918133344787f997.tar.gz
ChibiOS-a5070b8e577dee21b30c7ef6918133344787f997.tar.bz2
ChibiOS-a5070b8e577dee21b30c7ef6918133344787f997.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1559 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/ports/GCC/SIMIA32')
-rw-r--r--os/ports/GCC/SIMIA32/chcore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/ports/GCC/SIMIA32/chcore.c b/os/ports/GCC/SIMIA32/chcore.c
index 6fe0725dd..2cacd7b65 100644
--- a/os/ports/GCC/SIMIA32/chcore.c
+++ b/os/ports/GCC/SIMIA32/chcore.c
@@ -46,8 +46,8 @@ static void __dummy(Thread *otp, Thread *ntp) {
"push %esi \n\t" \
"push %edi \n\t" \
"push %ebx \n\t" \
- "movl %esp, 16(%ecx) \n\t" \
- "movl 16(%edx), %esp \n\t" \
+ "movl %esp, 12(%ecx) \n\t" \
+ "movl 12(%edx), %esp \n\t" \
"pop %ebx \n\t" \
"pop %edi \n\t" \
"pop %esi \n\t" \