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-ia64-devel

[Xen-ia64-devel] [PATCH 6/23] fix vmx_emul_mov_from_dbr/ibr()

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [PATCH 6/23] fix vmx_emul_mov_from_dbr/ibr()
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Fri, 12 Oct 2007 12:51:35 +0900
Cc: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Delivery-date: Thu, 11 Oct 2007 20:52:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
# HG changeset patch
# User yamahata@xxxxxxxxxxxxx
# Date 1190691034 -32400
# Node ID 5041a02c4913f435cbe264ad663ecc59cb0aa6fb
# Parent  771c51452a7553b502d31d0736d9d744320df8a0
fix vmx_emul_mov_from_dbr() and vmx_emul_mov_from_ibr().
dbr[] and ibr[] are confused.
PATCHNAME: fix_vmx_emul_mov_from_dbr_and_vmx_emul_mov_from_ibr

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>

diff -r 771c51452a75 -r 5041a02c4913 xen/arch/ia64/vmx/vmx_virt.c
--- a/xen/arch/ia64/vmx/vmx_virt.c      Mon Oct 01 17:25:27 2007 +0900
+++ b/xen/arch/ia64/vmx/vmx_virt.c      Tue Sep 25 12:30:34 2007 +0900
@@ -1141,7 +1141,7 @@ static IA64FAULT vmx_emul_mov_from_dbr(V
         return IA64_FAULT;
     }
 #endif  //CHECK_FAULT
-    res = vmx_vcpu_get_ibr(vcpu, r3, &r1);
+    res = vmx_vcpu_get_dbr(vcpu, r3, &r1);
     if (res != IA64_NO_FAULT)
         return res;
     return vcpu_set_gr(vcpu, inst.M43.r1, r1,0);
@@ -1181,7 +1181,7 @@ static IA64FAULT vmx_emul_mov_from_ibr(V
         return IA64_FAULT;
     }
 #endif  //CHECK_FAULT
-    res = vmx_vcpu_get_dbr(vcpu, r3, &r1);
+    res = vmx_vcpu_get_ibr(vcpu, r3, &r1);
     if (res != IA64_NO_FAULT)
         return res;
     return vcpu_set_gr(vcpu, inst.M43.r1, r1,0);

Attachment: 16056_5041a02c4913_fix_vmx_emul_mov_from_dbr_and_vmx_emul_mov_from_ibr.patch
Description: Text Data

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-ia64-devel] [PATCH 6/23] fix vmx_emul_mov_from_dbr/ibr(), Isaku Yamahata <=