From: Aravindh Puthiyaparambil Subject: [PATCH 0/3] Make mem_access APIs and hypercalls generic Date: Thu, 10 Apr 2014 20:49:36 -0700 Message-ID: <1397188179-14606-1-git-send-email-aravindp@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WYSTj-0004nV-RD for xen-devel@lists.xenproject.org; Fri, 11 Apr 2014 03:50:12 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Keir Fraser , Ian Campbell , Stefano Stabellini , Ian Jackson , Tim Deegan , Jan Beulich List-Id: xen-devel@lists.xenproject.org This is a precusor patch to the one that enables mem_access for PV domains. The mem_access APIs, hypercalls and structures all have HVM specific naming. As a first step to making this work for PV domains, this patch renames them in a more generic fashion. Signed-off-by: Aravindh Puthiyaparambil Cc: Keir Fraser Cc: Jan Beulich Cc: Tim Deegan Cc: Ian Jackson Cc: Stefano Stabellini Cc: Ian Campbell x86/mem_access: Make the mem_access ops generic tools/libxc: Make the mem_access APIs generic tools/xen-access: Use the new mem_access APIs tools/libxc/xc_mem_access.c | 51 ++++++++++++++++++++++--- tools/libxc/xc_misc.c | 61 ------------------------------ tools/libxc/xenctrl.h | 29 +++++++------- tools/tests/xen-access/xen-access.c | 31 +++++++-------- xen/arch/x86/hvm/hvm.c | 73 +----------------------------------- xen/arch/x86/mm.c | 5 ++- xen/arch/x86/mm/mem_access.c | 75 +++++++++++++++++++++++++++++++++++-- xen/arch/x86/mm/mem_event.c | 3 -- xen/arch/x86/mm/p2m.c | 28 +++++++------- xen/arch/x86/x86_64/compat/mm.c | 15 +++++--- xen/arch/x86/x86_64/mm.c | 9 ++++- xen/common/compat/memory.c | 2 +- xen/common/memory.c | 2 +- xen/include/asm-x86/mem_access.h | 3 +- xen/include/asm-x86/mm.h | 9 +++-- xen/include/asm-x86/p2m.h | 6 +-- xen/include/public/hvm/hvm_op.h | 42 +-------------------- xen/include/public/memory.h | 53 ++++++++++++++++++++++++-- 18 files changed, 249 insertions(+), 248 deletions(-) -- 1.8.3.2