aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xg_private.h
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2012-10-09 15:05:30 +0100
committerIan Campbell <ian.campbell@citrix.com>2012-10-09 15:05:30 +0100
commit417597de7559f7ea68133878c7d1b893cf7404b6 (patch)
treee92bd879be1d8faa3f0aaf2260d0f5971412c3b3 /tools/libxc/xg_private.h
parent9595ef77ab11f44144705e8f6fb20b8759144d70 (diff)
downloadxen-417597de7559f7ea68133878c7d1b893cf7404b6.tar.gz
xen-417597de7559f7ea68133878c7d1b893cf7404b6.tar.bz2
xen-417597de7559f7ea68133878c7d1b893cf7404b6.zip
libxc: add ARM support to xc_dom (PV domain building)
Includes ARM zImage support. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Stefano Stabellini <Stefano.Stabellini@eu.citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/libxc/xg_private.h')
-rw-r--r--tools/libxc/xg_private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/libxc/xg_private.h b/tools/libxc/xg_private.h
index a29fa26665..a271942e7d 100644
--- a/tools/libxc/xg_private.h
+++ b/tools/libxc/xg_private.h
@@ -148,6 +148,10 @@ typedef l4_pgentry_64_t l4_pgentry_t;
#define l4_table_offset(_a) l4_table_offset_x86_64(_a)
#endif
+#define PAGE_SHIFT_ARM 12
+#define PAGE_SIZE_ARM (1UL << PAGE_SHIFT_ARM)
+#define PAGE_MASK_ARM (~(PAGE_SIZE_ARM-1))
+
#define PAGE_SHIFT_X86 12
#define PAGE_SIZE_X86 (1UL << PAGE_SHIFT_X86)
#define PAGE_MASK_X86 (~(PAGE_SIZE_X86-1))