|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] [HVM][VMX] Fix the build with certain ver
# 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 <=
|
|
|
|
|