[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-ia64-devel] vcpu_match_tr_entry


  • To: "Tristan Gingold" <Tristan.Gingold@xxxxxxxx>, <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
  • Date: Thu, 30 Mar 2006 16:25:00 +0800
  • Delivery-date: Thu, 30 Mar 2006 08:26:34 +0000
  • List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
  • Thread-index: AcZT0wlroQMSDryfQvi4qCRJ9kyJPwAAD0Fw
  • Thread-topic: [Xen-ia64-devel] vcpu_match_tr_entry

>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. :-)

Thanks,
Kevin
>
>Thank you for any comment.
>
>Tristan.
>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.