From: Ian Campbell Subject: Re: [PATCH 2/3] xen/arm: p2m: add guest_physmap_add_page_rw Date: Mon, 11 Nov 2013 13:30:15 +0000 Message-ID: <1384176615.19117.27.camel@kazak.uk.xensource.com> References: <1382605365-19244-1-git-send-email-julien.grall@linaro.org> <1382605365-19244-3-git-send-email-julien.grall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VfrZM-0003AP-FK for xen-devel@lists.xenproject.org; Mon, 11 Nov 2013 13:30:20 +0000 In-Reply-To: <1382605365-19244-3-git-send-email-julien.grall@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: xen-devel@lists.xenproject.org, stefano.stabellini@eu.citrix.com, tim@xen.org, patches@linaro.org List-Id: xen-devel@lists.xenproject.org On Thu, 2013-10-24 at 10:02 +0100, Julien Grall wrote: > This function allows Xen to map memory read/write or read-only to the > guest memory. x86's equivalent seems to be guest_physmap_add_entry() which is used by guest_physmap_add_page. Unless there is a reason to diverge it would be nice to keep the arch API similar I think. x86 also passes a p2m type as I suggested in my previous reply. Ian.