[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] A small fix to xen/arch/x86/x86_64/entry.S


  • To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
  • From: "Li, Xin B" <xin.b.li@xxxxxxxxx>
  • Date: Sun, 10 Jul 2005 21:58:53 +0800
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Sun, 10 Jul 2005 13:57:38 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcWFV4GR/yiLm6iySxyPtLEzves87Q==
  • Thread-topic: A small fix to xen/arch/x86/x86_64/entry.S

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.