aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-arm/types.h
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2013-02-22 08:57:52 +0000
committerIan Campbell <ian.campbell@citrix.com>2013-02-22 12:14:52 +0000
commit6f0fef84dab8be6ae16976118b670718a820f565 (patch)
treeb02d57ca0539631fba2ca6525c3ecb2239e7a977 /xen/include/asm-arm/types.h
parentfac508273d32e37b40622bd2e874b420541fb7fa (diff)
downloadxen-6f0fef84dab8be6ae16976118b670718a820f565.tar.gz
xen-6f0fef84dab8be6ae16976118b670718a820f565.tar.bz2
xen-6f0fef84dab8be6ae16976118b670718a820f565.zip
xen: arm64: address translation
Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Tim Deegan <tim@xen.org>
Diffstat (limited to 'xen/include/asm-arm/types.h')
-rw-r--r--xen/include/asm-arm/types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xen/include/asm-arm/types.h b/xen/include/asm-arm/types.h
index 3f6317b627..9c20feade0 100644
--- a/xen/include/asm-arm/types.h
+++ b/xen/include/asm-arm/types.h
@@ -36,12 +36,16 @@ typedef unsigned int u32;
#if defined(CONFIG_ARM_32)
typedef signed long long s64;
typedef unsigned long long u64;
+typedef u32 vaddr_t;
+#define PRIvaddr PRIx32
typedef u64 paddr_t;
#define INVALID_PADDR (~0ULL)
#define PRIpaddr "016llx"
#elif defined (CONFIG_ARM_64)
typedef signed long s64;
typedef unsigned long u64;
+typedef u64 vaddr_t;
+#define PRIvaddr PRIx64
typedef u64 paddr_t;
#define INVALID_PADDR (~0UL)
#define PRIpaddr "016lx"