WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-devel] A small fix to xen/arch/x86/x86_64/entry.S
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] A small fix to xen/arch/x86/x86_64/entry.S, Li, Xin B <=