From 9b3c35e0e6cea178b7c757300f9045258bc5cd10 Mon Sep 17 00:00:00 2001 From: j_mayer Date: Sat, 7 Apr 2007 11:21:28 +0000 Subject: 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 --- target-mips/helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target-mips/helper.c') diff --git a/target-mips/helper.c b/target-mips/helper.c index d48c32b22..c23e9c6b3 100644 --- a/target-mips/helper.c +++ b/target-mips/helper.c @@ -141,12 +141,12 @@ static int get_physical_address (CPUState *env, target_ulong *physical, } #if defined(CONFIG_USER_ONLY) -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) { return addr; } #else -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) { target_ulong phys_addr; int prot; -- cgit v1.2.3