diff options
author | Paul Brook <paul@codesourcery.com> | 2010-03-01 03:46:18 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2010-03-12 18:34:25 +0000 |
commit | 4fcc562bff94c28cc06d510d87280afc467add6d (patch) | |
tree | 6d298bdb510b2687b6c80c36bcd555fb0ee7d0d6 /target-m68k/helper.c | |
parent | b3755a915e40271e8d2b1119e8a1dc1f3e88d2e5 (diff) | |
download | qemu-4fcc562bff94c28cc06d510d87280afc467add6d.tar.gz qemu-4fcc562bff94c28cc06d510d87280afc467add6d.tar.bz2 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-m68k/helper.c')
-rw-r--r-- | target-m68k/helper.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/target-m68k/helper.c b/target-m68k/helper.c index 9f30a7479d..5d52bd34ea 100644 --- a/target-m68k/helper.c +++ b/target-m68k/helper.c @@ -342,14 +342,6 @@ void m68k_switch_sp(CPUM68KState *env) env->current_sp = new_sp; } -/* MMU */ - -/* TODO: This will need fixing once the MMU is implemented. */ -target_phys_addr_t cpu_get_phys_page_debug(CPUState *env, target_ulong addr) -{ - return addr; -} - #if defined(CONFIG_USER_ONLY) int cpu_m68k_handle_mmu_fault (CPUState *env, target_ulong address, int rw, @@ -362,6 +354,14 @@ int cpu_m68k_handle_mmu_fault (CPUState *env, target_ulong address, int rw, #else +/* MMU */ + +/* TODO: This will need fixing once the MMU is implemented. */ +target_phys_addr_t cpu_get_phys_page_debug(CPUState *env, target_ulong addr) +{ + return addr; +} + int cpu_m68k_handle_mmu_fault (CPUState *env, target_ulong address, int rw, int mmu_idx, int is_softmmu) { |