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] help regarding ioremap_pt ....

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] help regarding ioremap_pt ....
From: Himanshu Raj <rhim@xxxxxxxxxxxxx>
Date: Fri, 23 Dec 2005 17:26:56 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 23 Dec 2005 22:30:23 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <fc5e5ccf7c1cb389925d167ca7e39ed3@xxxxxxxxxxxx>
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>
References: <20051223144119.GE6894@xxxxxxxxxxxxx> <fc5e5ccf7c1cb389925d167ca7e39ed3@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11
Thanks for your response Keir. I do have to put some device specific code in
Xen. So for that, I will need to "hand build" the PTE and put it in the ioremap
area. Does it make any sense?

Best regards,
Himanshu

On Fri, Dec 23, 2005 at 03:38:13PM +0000, Keir Fraser wrote:
> 
> On 23 Dec 2005, at 14:41, Himanshu Raj wrote:
> 
> >I see a 4MB area being allocated paging_init for ioremap (that amounts 
> >to one
> >page of l2 entries on a 32-bit x86). However I don't see it being used 
> >anywhere.
> >Could someone point me to the place where it is being used.
> >
> >Reason I ask is because I need to map certain physical memory in 
> >"xen", some
> >device register's available in memory space. As I see, there is no 
> >direct
> >ioremap support in xen (atleast the comment says so!).
> 
> fixmap uses that area, but I think that's now the only thing that uses 
> that area in Xen. We removed dynamic ioremap when we removed device 
> drivers from Xen.
> 
>  -- Keir

-- 
-------------------------------------------------------------------------
Himanshu Raj
PhD Student, GaTech (www.cc.gatech.edu/~rhim)
I prefer to receive attachments in an open, non-proprietary format.
-------------------------------------------------------------------------

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

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