From c58f293104052b07bc787b2ca35de0a6a365a8a0 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 9 Mar 2011 02:44:30 +0000 Subject: [PATCH] Some VSN changes git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3354 42af7a65-404d-4744-a932-0658087f49c3 --- arch/x86/src/qemu/qemu_fullcontextrestore.S | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/x86/src/qemu/qemu_fullcontextrestore.S b/arch/x86/src/qemu/qemu_fullcontextrestore.S index 0396753f7b..6f15662dd6 100644 --- a/arch/x86/src/qemu/qemu_fullcontextrestore.S +++ b/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