[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] why we need to convert "mfn_to_page(smfn)" in page_alloc.c?
Once again please read http://wiki.xen.org/wiki/Asking_Xen_Devel_Questions I'm afraid that very few people are going to be able to spend the time spoon-feeding you through the code without some indication as to why they should invest that time in you. Ian. On Mon, 2012-12-10 at 14:02 +0000, asad raza wrote: > void init_domheap_pages(paddr_t ps, paddr_t pe) > { > unsigned long smfn, emfn; > > ASSERT(!in_irq()); > > smfn = round_pgup(ps) >> PAGE_SHIFT; > emfn = round_pgdown(pe) >> PAGE_SHIFT; > > init_heap_pages(mfn_to_page(smfn), emfn - smfn); > } > > _______________________________________________ > Xen-devel mailing list > Xen-devel@xxxxxxxxxxxxx > http://lists.xen.org/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |