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

Re: [Xen-ia64-devel]Question about priv_ptc_e

To: "Xu, Anthony" <anthony.xu@xxxxxxxxx>, "Magenheimer, Dan \(HP Labs Fort Collins\)" <dan.magenheimer@xxxxxx>
Subject: Re: [Xen-ia64-devel]Question about priv_ptc_e
From: Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Date: Tue, 14 Mar 2006 10:24:56 +0100
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 14 Mar 2006 09:22:22 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <2BF508F394C196468CCBEC031320DCDF380968@pdsmsx405>
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>
References: <2BF508F394C196468CCBEC031320DCDF380968@pdsmsx405>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.5
Le Mardi 14 Mars 2006 07:11, Xu, Anthony a écrit :
> From: Magenheimer, Dan (HP Labs Fort Collins)
>
> >Sent: 2006年3月11日 1:35
> >It would be OK to clean this up.  It may actually be
> >causing a bug!  But I would like to preserve the code
> >rather than remove it as it is possible that it may
> >be used again.  It would be OK though to tie it to a
> >global variable / command line option that defaults
> >off.  For example:
> >
> > // NOTE: ptc_e with source gr > 63 is emulated as a fc r(y-64)
> >-    if (src > 63) return(vcpu_fc(vcpu,vcpu_get_gr(vcpu,src - 64)));
> >+    if (privified && src > 63)
> >+            return(vcpu_fc(vcpu,vcpu_get_gr(vcpu,src - 64)));
> >     return vcpu_ptc_e(vcpu,vcpu_get_gr(vcpu,src));
> >
> >There are several of these that need to be changed,
> >so let's change all of them the same way at the same time.
>
> It is still being used.
> At least, Dom0 uses pte.e to emulate fc.
Good catch.  So we should add an HYPERPRIVOP_FC.
Please, tell us if you do it.

Tristan.




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