From: Himanshu Raj Subject: Re: help regarding ioremap_pt .... Date: Fri, 23 Dec 2005 17:26:56 -0500 Message-ID: <20051223222656.GA29473@cc.gatech.edu> References: <20051223144119.GE6894@cc.gatech.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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. -------------------------------------------------------------------------