Hi Folks, 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!). Many thanks for your help. Best regards, Himanshu -- ------------------------------------------------------------------------- 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@lists.xensource.com http://lists.xensource.com/xen-devel
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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
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@lists.xensource.com http://lists.xensource.com/xen-devel