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] Calling __va() in a x86_64 Dom0 module

To: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>, "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Calling __va() in a x86_64 Dom0 module
From: "Puthiyaparambil, Aravindh" <aravindh.puthiyaparambil@xxxxxxxxxx>
Date: Sun, 6 Nov 2005 13:21:22 -0500
Cc: "Forsgren, Garry" <Garry.Forsgren@xxxxxxxxxx>
Delivery-date: Sun, 06 Nov 2005 18:21:52 +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: AcXfJauwtSpYwRXYQc+ukrtR/C5nVwDO3mSwACdQ7gA=
Thread-topic: [Xen-devel] Calling __va() in a x86_64 Dom0 module
> dom0 only has the bottom 1MB of machine memory mapped, so if you want
to
> access outside of this you'll need to map it yourself using
> direct_remap_pfn_range.

Ian,

I was able to use ioremap() to gain access to the piece of memory. Is
this a reliable method or should I be using direct_remap_pfn_range()?

Thanks,
Aravindh

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

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