summaryrefslogtreecommitdiff
path: root/nuttx/arch/x86
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-09 02:44:30 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-09 02:44:30 +0000
commit7109c2039470cfc60a375c7478ccebbddb7398a2 (patch)
treeb9c0fb43de65bfda64e7d5f34dda2921762129d6 /nuttx/arch/x86
parent08f35466fe32b14d64946f45da6777e8d66fc698 (diff)
downloadpx4-nuttx-7109c2039470cfc60a375c7478ccebbddb7398a2.tar.gz
px4-nuttx-7109c2039470cfc60a375c7478ccebbddb7398a2.tar.bz2
px4-nuttx-7109c2039470cfc60a375c7478ccebbddb7398a2.zip
Some VSN changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3354 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/x86')
-rw-r--r--nuttx/arch/x86/src/qemu/qemu_fullcontextrestore.S4
1 files changed, 1 insertions, 3 deletions
diff --git a/nuttx/arch/x86/src/qemu/qemu_fullcontextrestore.S b/nuttx/arch/x86/src/qemu/qemu_fullcontextrestore.S
index 0396753f7..6f15662dd 100644
--- a/nuttx/arch/x86/src/qemu/qemu_fullcontextrestore.S
+++ b/nuttx/arch/x86/src/qemu/qemu_fullcontextrestore.S
@@ -115,8 +115,6 @@ up_fullcontextrestore:
push %ebx
movl (4*REG_EAX)(%eax), %ebx
push %ebx
- movl (4*REG_EBX)(%eax), %ebx
- push %ebx
/* Now restore the remaining registers */
@@ -125,6 +123,7 @@ up_fullcontextrestore:
movl (4*REG_EBP)(%eax), %ebp
movl (4*REG_EDX)(%eax), %edx
movl (4*REG_ECX)(%eax), %ecx
+ movl (4*REG_EBX)(%eax), %ebx
/* Restore the segment registers */
@@ -134,7 +133,6 @@ up_fullcontextrestore:
/* Restore the correct value of EAX, EBX, and the EFLAGS then return */
- popl %ebx
popl %eax
popf
ret