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] __va() vs phys_to_virt()

On Friday, March 18, 2005 10:46 am, Hollis Blanchard wrote:
> On Friday 18 March 2005 12:45, Xin Zhao wrote:
> > I thought they are the same. phys_to_virt() essentially calls __va().
>
> They are implemented the same on x86, but that does not imply they mean the
> same thing.

A quick grep shows that most platforms implement __va and phys_to_virt the 
same way, as addr + PAGE_OFFSET.  But alpha seems to do phys_to_virt a little 
differently.  There may be others though, it was only a quick scan.

Jesse


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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