Hi Keir, actually, this patch doesn't fix any bug here, for
UREGS_rip+8(%rsp) is updated later, but I think that's not elegant.
-Xin
diff -r 215d8b2f3d94 xen/arch/x86/x86_64/entry.S
--- a/xen/arch/x86/x86_64/entry.S Sat Jul 9 10:24:14 2005
+++ b/xen/arch/x86/x86_64/entry.S Sun Jul 10 21:49:41 2005
@@ -349,7 +349,7 @@
FLT14: movq %rax,(%rsi) # RCX
/* Rewrite our stack frame and return to guest-OS mode. */
/* IA32 Ref. Vol. 3: TF, VM, RF and NT flags are cleared on
trap. */
- movq $TRAP_syscall,UREGS_entry_vector+8(%rsp)
+ movl $TRAP_syscall,UREGS_entry_vector+8(%rsp)
andl $0xfffcbeff,UREGS_eflags+8(%rsp)
movq $__GUEST_SS,UREGS_ss+8(%rsp)
movq %rsi,UREGS_rsp+8(%rsp)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|