aboutsummaryrefslogtreecommitdiff
path: root/cpu-all.h
diff options
context:
space:
mode:
authorj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-07 11:21:28 +0000
committerj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-07 11:21:28 +0000
commit9b3c35e0e6cea178b7c757300f9045258bc5cd10 (patch)
tree49a3eb5226c7928ada1d9314685028207972949d /cpu-all.h
parent80a34d67a5061ef1fbe8d8f77e866aa350f70959 (diff)
cpu_get_phys_page_debug should return target_phys_addr_t
instead of target_ulong to be consistent. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2633 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-all.h')
-rw-r--r--cpu-all.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu-all.h b/cpu-all.h
index d2382857a5..2fc2f9a99d 100644
--- a/cpu-all.h
+++ b/cpu-all.h
@@ -799,7 +799,7 @@ void cpu_reset(CPUState *s);
/* Return the physical page corresponding to a virtual one. Use it
only for debugging because no protection checks are done. Return -1
if no page found. */
-target_ulong cpu_get_phys_page_debug(CPUState *env, target_ulong addr);
+target_phys_addr_t cpu_get_phys_page_debug(CPUState *env, target_ulong addr);
#define CPU_LOG_TB_OUT_ASM (1 << 0)
#define CPU_LOG_TB_IN_ASM (1 << 1)