aboutsummaryrefslogtreecommitdiff
path: root/cpu-all.h
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-03-16 20:23:49 +0100
committerStefan Weil <sw@weilnetz.de>2012-04-15 21:25:16 +0200
commitc6d506742fd997a29b611fda11f67c53d60dd5ef (patch)
treed3c63e38fa7de377b7f9eaa062e60d2f876683e3 /cpu-all.h
parent27b0dc16b4e50b59aeefff2bfa73cf2eb8c7a70d (diff)
w64: Fix data types in cpu-all.h, exec.c
w64 needs uintptr_t instead of unsigned long. For other hosts, nothing changes. Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'cpu-all.h')
-rw-r--r--cpu-all.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpu-all.h b/cpu-all.h
index 58420be86f..f7d6867b0d 100644
--- a/cpu-all.h
+++ b/cpu-all.h
@@ -299,10 +299,10 @@ extern unsigned long reserved_va;
#define TARGET_PAGE_MASK ~(TARGET_PAGE_SIZE - 1)
#define TARGET_PAGE_ALIGN(addr) (((addr) + TARGET_PAGE_SIZE - 1) & TARGET_PAGE_MASK)
-/* ??? These should be the larger of unsigned long and target_ulong. */
-extern unsigned long qemu_real_host_page_size;
-extern unsigned long qemu_host_page_size;
-extern unsigned long qemu_host_page_mask;
+/* ??? These should be the larger of uintptr_t and target_ulong. */
+extern uintptr_t qemu_real_host_page_size;
+extern uintptr_t qemu_host_page_size;
+extern uintptr_t qemu_host_page_mask;
#define HOST_PAGE_ALIGN(addr) (((addr) + qemu_host_page_size - 1) & qemu_host_page_mask)