summaryrefslogtreecommitdiffstats
path: root/target-sh4/helper.c
diff options
context:
space:
mode:
authorPaul Brook2010-03-01 04:46:18 +0100
committerPaul Brook2010-03-12 19:34:25 +0100
commit4fcc562bff94c28cc06d510d87280afc467add6d (patch)
tree6d298bdb510b2687b6c80c36bcd555fb0ee7d0d6 /target-sh4/helper.c
parentDisable phsyical memory handling in userspace emulation. (diff)
downloadqemu-4fcc562bff94c28cc06d510d87280afc467add6d.tar.gz
qemu-4fcc562bff94c28cc06d510d87280afc467add6d.tar.xz
qemu-4fcc562bff94c28cc06d510d87280afc467add6d.zip
Remove cpu_get_phys_page_debug from userspace emulation
cpu_get_phys_page_debug makes no sense for userspace emulation, so remove it. Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'target-sh4/helper.c')
-rw-r--r--target-sh4/helper.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/target-sh4/helper.c b/target-sh4/helper.c
index d2ff6691e0..486be5d511 100644
--- a/target-sh4/helper.c
+++ b/target-sh4/helper.c
@@ -53,11 +53,6 @@ int cpu_sh4_handle_mmu_fault(CPUState * env, target_ulong address, int rw,
return 1;
}
-target_phys_addr_t cpu_get_phys_page_debug(CPUState * env, target_ulong addr)
-{
- return addr;
-}
-
int cpu_sh4_is_cached(CPUSH4State * env, target_ulong addr)
{
/* For user mode, only U0 area is cachable. */