On 02.10.2019 19:16, Hongyan Xia wrote: > From: Wei Liu <wei.l...@citrix.com> > > They were put into page.h but mm.h is more appropriate. > > The real reason is that I will be adding some new functions which > takes mfn_t. It turns out it is a bit difficult to do in page.h. > > No functional change. > > Signed-off-by: Wei Liu <wei.l...@citrix.com>
Acked-by: Jan Beulich <jbeul...@suse.com> with one further request: > --- a/xen/include/asm-x86/mm.h > +++ b/xen/include/asm-x86/mm.h > @@ -630,4 +630,9 @@ int arch_acquire_resource(struct domain *d, unsigned int > type, > unsigned int id, unsigned long frame, > unsigned int nr_frames, xen_pfn_t mfn_list[]); > > +/* Allocator functions for Xen pagetables. */ > +void *alloc_xen_pagetable(void); > +void free_xen_pagetable(void *v); > +l1_pgentry_t *virt_to_xen_l1e(unsigned long v); Can these please be put next to e.g. do_page_walk()? Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel