diff options
author | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-07 11:21:28 +0000 |
---|---|---|
committer | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-07 11:21:28 +0000 |
commit | 9b3c35e0e6cea178b7c757300f9045258bc5cd10 (patch) | |
tree | 49a3eb5226c7928ada1d9314685028207972949d /target-sh4/helper.c | |
parent | 80a34d67a5061ef1fbe8d8f77e866aa350f70959 (diff) | |
download | qemu-9b3c35e0e6cea178b7c757300f9045258bc5cd10.zip |
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 'target-sh4/helper.c')
-rw-r--r-- | target-sh4/helper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-sh4/helper.c b/target-sh4/helper.c index 1839c96dde..1063ece2d8 100644 --- a/target-sh4/helper.c +++ b/target-sh4/helper.c @@ -53,7 +53,7 @@ int cpu_sh4_handle_mmu_fault(CPUState * env, target_ulong address, int rw, return 1; } -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; } @@ -429,7 +429,7 @@ int cpu_sh4_handle_mmu_fault(CPUState * env, target_ulong address, int rw, return tlb_set_page(env, address, physical, prot, is_user, is_softmmu); } -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 physical; int prot; |