summaryrefslogtreecommitdiff
path: root/nuttx/arch/x86/src/qemu/qemu_fullcontextrestore.S
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/x86/src/qemu/qemu_fullcontextrestore.S')
-rw-r--r--nuttx/arch/x86/src/qemu/qemu_fullcontextrestore.S12
1 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/arch/x86/src/qemu/qemu_fullcontextrestore.S b/nuttx/arch/x86/src/qemu/qemu_fullcontextrestore.S
index b70ab0984..49f1e5ee6 100644
--- a/nuttx/arch/x86/src/qemu/qemu_fullcontextrestore.S
+++ b/nuttx/arch/x86/src/qemu/qemu_fullcontextrestore.S
@@ -101,15 +101,15 @@ SYMBOL(up_fullcontextrestore):
/* Save the return address now. */
- movl (JB_PC)(%ecx), %edx
+ movl (REG_PC)(%ecx), %edx
/* Restore registers. */
- movl (JB_EBX)(%ecx), %ebx
- movl (JB_ESI)(%ecx), %esi
- movl (JB_EDI)(%ecx), %edi
- movl (JB_EBP)(%ecx), %ebp
- movl (JB_SP)(%ecx), %esp
+ movl (REG_EBX)(%ecx), %ebx
+ movl (REG_ESI)(%ecx), %esi
+ movl (REG_EDI)(%ecx), %edi
+ movl (REG_EBP)(%ecx), %ebp
+ movl (REG_SP)(%ecx), %esp
/* Jump to saved PC. */