summaryrefslogtreecommitdiffstats
path: root/exec-all.h
diff options
context:
space:
mode:
authorPaul Brook2010-03-13 00:23:29 +0100
committerPaul Brook2010-03-13 00:25:52 +0100
commitb480d9b74dfd1efd29026b7dc6438364a633ee99 (patch)
treeba5e9af2816fb452437070da74e87d15f55d7255 /exec-all.h
parentFreeBSD ppc_init_cacheline_sizes(): add missing #includes (diff)
downloadqemu-b480d9b74dfd1efd29026b7dc6438364a633ee99.tar.gz
qemu-b480d9b74dfd1efd29026b7dc6438364a633ee99.tar.xz
qemu-b480d9b74dfd1efd29026b7dc6438364a633ee99.zip
Fix usermode virtual address type
Usermode virtual addresses are abi_ulong, not target_ulong. Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'exec-all.h')
-rw-r--r--exec-all.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec-all.h b/exec-all.h
index 6c44d32f85..56e79771a4 100644
--- a/exec-all.h
+++ b/exec-all.h
@@ -29,7 +29,7 @@
addresses in userspace mode. Define tb_page_addr_t to be an appropriate
type. */
#if defined(CONFIG_USER_ONLY)
-typedef target_ulong tb_page_addr_t;
+typedef abi_ulong tb_page_addr_t;
#else
typedef ram_addr_t tb_page_addr_t;
#endif