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] x86: Fix read/write control-register in x

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] x86: Fix read/write control-register in x86_emulate().
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 24 Nov 2007 19:00:22 -0800
Delivery-date: Sat, 24 Nov 2007 19:01:30 -0800
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 Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1195921017 0
# Node ID 2e7fcea74cb1117640c7ba6a2152d42223335259
# Parent  b92239112869819849028a7f333ed439bf2c8bd4
x86: Fix read/write control-register in x86_emulate().
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/x86_emulate.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r b92239112869 -r 2e7fcea74cb1 xen/arch/x86/x86_emulate.c
--- a/xen/arch/x86/x86_emulate.c        Sat Nov 24 13:40:23 2007 +0000
+++ b/xen/arch/x86/x86_emulate.c        Sat Nov 24 16:16:57 2007 +0000
@@ -2291,7 +2291,7 @@ x86_emulate(
                      ? ops->write_dr(modrm_reg, src.val, ctxt)
                      : X86EMUL_UNHANDLEABLE)
                   : (ops->write_cr
-                     ? ops->write_dr(modrm_reg, src.val, ctxt)
+                     ? ops->write_cr(modrm_reg, src.val, ctxt)
                      : X86EMUL_UNHANDLEABLE));
         }
         else
@@ -2305,7 +2305,7 @@ x86_emulate(
                      ? ops->read_dr(modrm_reg, &dst.val, ctxt)
                      : X86EMUL_UNHANDLEABLE)
                   : (ops->read_cr
-                     ? ops->read_dr(modrm_reg, &dst.val, ctxt)
+                     ? ops->read_cr(modrm_reg, &dst.val, ctxt)
                      : X86EMUL_UNHANDLEABLE));
         }
         if ( rc != 0 )

_______________________________________________
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] x86: Fix read/write control-register in x86_emulate()., Xen patchbot-unstable <=