[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3 47/62] arm/p2m: Add helper functions to map memory regions
On 2015/11/30 23:22, Julien Grall wrote: > Hi, > > On 27/11/15 12:04, Stefano Stabellini wrote: >> > On Tue, 17 Nov 2015, shannon.zhao@xxxxxxxxxx wrote: >>> >> From: Parth Dixit <parth.dixit@xxxxxxxxxx> >>> >> >>> >> Create a helper function for mapping with cached attributes. >>> >> >>> >> Signed-off-by: Parth Dixit <parth.dixit@xxxxxxxxxx> >>> >> Signed-off-by: Shannon Zhao <shannon.zhao@xxxxxxxxxx> >> > >> > You might be able to use the existing guest_physmap_add_entry and >> > guest_physmap_remove_page for your purposes. > I would rather avoid to do that, those function use the type p2m_ram_rw > which imply the memory is executable. It could pass the type p2m_mmio_direct or p2m_ram_ro to guest_physmap_add_entry, right? Thanks, -- Shannon _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |