aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-arm/types.h
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2013-02-22 08:58:02 +0000
committerIan Campbell <ian.campbell@citrix.com>2013-02-22 12:14:53 +0000
commita51b368b64943196f86f444c45b1c5c61b148d1a (patch)
treeb8ff02273a7e76c159f578ef9c11fa92f07faec3 /xen/include/asm-arm/types.h
parentd923f41efe228e8eff417c400a45fe927b57c371 (diff)
downloadxen-a51b368b64943196f86f444c45b1c5c61b148d1a.tar.gz
xen-a51b368b64943196f86f444c45b1c5c61b148d1a.tar.bz2
xen-a51b368b64943196f86f444c45b1c5c61b148d1a.zip
xen: arm: add register_t type, native register size for the hypervisor
Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Tim Deegan <tim@xen.org> Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
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 9c20feade0..6875a620a2 100644
--- a/xen/include/asm-arm/types.h
+++ b/xen/include/asm-arm/types.h
@@ -41,6 +41,8 @@ typedef u32 vaddr_t;
typedef u64 paddr_t;
#define INVALID_PADDR (~0ULL)
#define PRIpaddr "016llx"
+typedef u32 register_t;
+#define PRIregister "x"
#elif defined (CONFIG_ARM_64)
typedef signed long s64;
typedef unsigned long u64;
@@ -49,6 +51,8 @@ typedef u64 vaddr_t;
typedef u64 paddr_t;
#define INVALID_PADDR (~0UL)
#define PRIpaddr "016lx"
+typedef u64 register_t;
+#define PRIregister "lx"
#endif
typedef unsigned long size_t;