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

RE: [Xen-devel] redundant set_cr0 in vmxassist setup.c

To: "Li, Xin B" <xin.b.li@xxxxxxxxx>, <leendert@xxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] redundant set_cr0 in vmxassist setup.c
From: "Li, Xin B" <xin.b.li@xxxxxxxxx>
Date: Fri, 10 Feb 2006 17:03:16 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 10 Feb 2006 09:14:43 +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: AcYuH8IpWjwl6ksTTNqcT3M/dGftBAAALHrg
Thread-topic: [Xen-devel] redundant set_cr0 in vmxassist setup.c
Oh, Missed the subject :-(

>-----Original Message-----
>From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
>[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Li, Xin B
>Sent: 2006年2月10日 16:56
>To: leendert@xxxxxxxxxxxxxx
>Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
>Subject: [Xen-devel] (no subject)
>
>Leendert, when I'm reading the vmxassist code, I think we need this
>patch, can you take a look for me?
>Thanks
>-Xin
>
>diff -r 47013962e411 tools/firmware/vmxassist/setup.c
>--- a/tools/firmware/vmxassist/setup.c  Fri Feb 10 02:23:36 2006
>+++ b/tools/firmware/vmxassist/setup.c  Fri Feb 10 15:28:17 2006
>@@ -363,7 +363,7 @@
>
>        initialize_real_mode = 1;
>        cr0 = get_cr0();
>-#ifndef TEST
>+#ifdef TEST
>        set_cr0(cr0 | CR0_PE);
> #endif
>        set_cr0(cr0 & ~CR0_PE);
>
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@xxxxxxxxxxxxxxxxxxx
>http://lists.xensource.com/xen-devel
>

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

<Prev in Thread] Current Thread [Next in Thread>