aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-arm/config.h
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2012-10-11 15:56:57 +0100
committerIan Campbell <ian.campbell@citrix.com>2012-10-11 15:56:57 +0100
commit874d8100fca15754c98cac9bf47cdb37d275976f (patch)
tree9357224054b021da8daa996ec0bf51259a21b1b9 /xen/include/asm-arm/config.h
parentc113b2c4bb48f5c24397aed25d79ff975d08e87d (diff)
downloadxen-874d8100fca15754c98cac9bf47cdb37d275976f.tar.gz
xen-874d8100fca15754c98cac9bf47cdb37d275976f.tar.bz2
xen-874d8100fca15754c98cac9bf47cdb37d275976f.zip
arm: make virtual address defines unsigned
avoids confusion due to overflow etc. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Tim Deegan <tim@xen.org> Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'xen/include/asm-arm/config.h')
-rw-r--r--xen/include/asm-arm/config.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/xen/include/asm-arm/config.h b/xen/include/asm-arm/config.h
index 7d02cc7385..2a05539143 100644
--- a/xen/include/asm-arm/config.h
+++ b/xen/include/asm-arm/config.h
@@ -69,14 +69,14 @@
* - in setup_pagetables() when relocating Xen.
*/
-#define XEN_VIRT_START 0x00200000
-#define FIXMAP_ADDR(n) (0x00400000 + (n) * PAGE_SIZE)
-#define BOOT_MISC_VIRT_START 0x00600000
-#define FRAMETABLE_VIRT_START 0x02000000
-#define XENHEAP_VIRT_START 0x40000000
-#define DOMHEAP_VIRT_START 0x80000000
-
-#define HYPERVISOR_VIRT_START mk_unsigned_long(XEN_VIRT_START)
+#define XEN_VIRT_START mk_unsigned_long(0x00200000)
+#define FIXMAP_ADDR(n) (mk_unsigned_long(0x00400000) + (n) * PAGE_SIZE)
+#define BOOT_MISC_VIRT_START mk_unsigned_long(0x00600000)
+#define FRAMETABLE_VIRT_START mk_unsigned_long(0x02000000)
+#define XENHEAP_VIRT_START mk_unsigned_long(0x40000000)
+#define DOMHEAP_VIRT_START mk_unsigned_long(0x80000000)
+
+#define HYPERVISOR_VIRT_START XEN_VIRT_START
#define DOMHEAP_ENTRIES 1024 /* 1024 2MB mapping slots */