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] vcpu_match_tr_entry

To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] vcpu_match_tr_entry
From: Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Date: Thu, 30 Mar 2006 09:45:07 +0100
Delivery-date: Thu, 30 Mar 2006 08:42:33 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <571ACEFD467F7749BC50E0A98C17CDD8094E7A34@pdsmsx403>
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: <571ACEFD467F7749BC50E0A98C17CDD8094E7A34@pdsmsx403>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.5
Le Jeudi 30 Mars 2006 10:25, Tian, Kevin a écrit :
> From: Tristan Gingold
>
> >Sent: 2006年3月30日 16:26
> >Hi,
> >
> >current definition of vcpu_match_tr_entry is:
> >#define vcpu_match_tr_entry(_trp,_ifa,_rid)             \
> >    ((_trp->p && (_trp->rid==_rid) && (_ifa >= _trp->vadr) &&   \
> >    (_ifa < (_trp->vadr + (1L<< _trp->ps)) - 1)))
> >                                                          ^^
> >Why -1 ?
> >I suppose it is either <= (vadr + ps -1) or < (vadr + ps - 1) ?
>
> Assume you meant <=(vadr+ps-1) or <(vadr+ps) and agree with you. :-)
Euh, yes :-)

Tristan.



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

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