49#define m2p ((unsigned long *)MACH2PHYS_VIRT_START)
61static inline unsigned long pfn_to_mfn(
unsigned long pfn)
68static inline unsigned long virt_to_mfn(
const void *va)
102#if defined(CONFIG_PV)
xen_pv_start_info_t * pv_start_info
void * maddr_to_virt(uint64_t maddr)
unsigned long pfn_to_mfn(unsigned long pfn)
unsigned long virt_to_mfn(const void *va)
void * mfn_to_virt(unsigned long mfn)
static void * gfn_to_virt(unsigned long gfn)
uint64_t virt_to_maddr(const void *va)
static void * pfn_to_virt(unsigned long pfn)
static unsigned long virt_to_pfn(const void *va)
static unsigned long virt_to_gfn(const void *va)
#define _p(v)
Express an abitrary integer v as void *.
#define _u(v)
Express an arbitrary value v as unsigned long.
Common declarations for all tests.