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-changelog

[Xen-changelog] [xen-unstable] [HVM][VMX] Fix the build with certain ver

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [HVM][VMX] Fix the build with certain versions of gcc.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 12 Jun 2006 10:45:27 +0000
Delivery-date: Mon, 12 Jun 2006 03:47:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 9d717a4f3531b1442041ca0b40e2334ca5e4aa79
# Parent  92f071926e6edbd87e83cf117aaeb45cd5775c9b
[HVM][VMX] Fix the build with certain versions of gcc.
Restrict register choices to this which are byte addressable.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/include/asm-x86/hvm/vmx/vmx.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff -r 92f071926e6e -r 9d717a4f3531 xen/include/asm-x86/hvm/vmx/vmx.h
--- a/xen/include/asm-x86/hvm/vmx/vmx.h Mon Jun 12 10:05:55 2006 +0100
+++ b/xen/include/asm-x86/hvm/vmx/vmx.h Mon Jun 12 10:09:44 2006 +0100
@@ -242,7 +242,7 @@ static always_inline int ___vmread(
                            MODRM_EAX_ECX
                            /* CF==1 or ZF==1 --> rc = -1 */
                            "setna %b0 ; neg %0"
-                           : "=r" (rc), "=c" (ecx)
+                           : "=q" (rc), "=c" (ecx)
                            : "a" (field)
                            : "memory");
 
@@ -313,7 +313,7 @@ static inline int __vmwrite (unsigned lo
                            MODRM_EAX_ECX
                            /* CF==1 or ZF==1 --> rc = -1 */
                            "setna %b0 ; neg %0"
-                           : "=r" (rc)
+                           : "=q" (rc)
                            : "a" (field) , "c" (value)
                            : "memory");
 
@@ -366,7 +366,7 @@ static inline int __vmxon (u64 addr)
                            MODRM_EAX_06
                            /* CF==1 or ZF==1 --> rc = -1 */
                            "setna %b0 ; neg %0"
-                           : "=r" (rc)
+                           : "=q" (rc)
                            : "a" (&addr) 
                            : "memory");
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [HVM][VMX] Fix the build with certain versions of gcc., Xen patchbot-unstable <=