From: Andrew Cooper Subject: [PATCH 0/2] xen/mem Common cleanup Date: Wed, 3 Jun 2015 12:43:21 +0100 Message-ID: <1433331803-1783-1-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: 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 Cc: Andrew Cooper List-Id: xen-devel@lists.xenproject.org Following c/s e758ed14 which describes the current terms used in Xens memory management, introduce some infrastructure so that new code can be written correctly. This is the start of a long potential cleanup. Andrew Cooper (2): xen/mem: Expose typesafe mfns/gfns/pfns to common code xen/vmap: Convert vmap() to using mfn_t xen/arch/arm/mm.c | 8 ++++--- xen/arch/x86/domain_page.c | 3 ++- xen/arch/x86/mm.c | 6 +++--- xen/arch/x86/mm/shadow/multi.c | 6 +++--- xen/common/vmap.c | 14 ++++++------ xen/drivers/acpi/osl.c | 5 +++-- xen/include/asm-arm/mm.h | 2 -- xen/include/asm-x86/guest_pt.h | 9 -------- xen/include/asm-x86/mm.h | 37 -------------------------------- xen/include/asm-x86/paging.h | 1 - xen/include/xen/mm.h | 28 ++++++++++++++++++++++++ xen/include/xen/typesafe.h | 46 ++++++++++++++++++++++++++++++++++++++++ xen/include/xen/vmap.h | 6 +++--- 13 files changed, 100 insertions(+), 71 deletions(-) create mode 100644 xen/include/xen/typesafe.h -- 1.7.10.4