diff options
author | Paul Brook | 2010-03-01 04:46:18 +0100 |
---|---|---|
committer | Paul Brook | 2010-03-12 19:34:25 +0100 |
commit | 4fcc562bff94c28cc06d510d87280afc467add6d (patch) | |
tree | 6d298bdb510b2687b6c80c36bcd555fb0ee7d0d6 /target-sparc/helper.c | |
parent | Disable phsyical memory handling in userspace emulation. (diff) | |
download | qemu-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-sparc/helper.c')
-rw-r--r-- | target-sparc/helper.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/target-sparc/helper.c b/target-sparc/helper.c index ffe93e3d44..976eb43d33 100644 --- a/target-sparc/helper.c +++ b/target-sparc/helper.c @@ -652,13 +652,7 @@ void dump_mmu(CPUState *env) #endif /* !CONFIG_USER_ONLY */ -#if defined(CONFIG_USER_ONLY) -target_phys_addr_t cpu_get_phys_page_debug(CPUState *env, target_ulong addr) -{ - return addr; -} - -#else +#if !defined(CONFIG_USER_ONLY) target_phys_addr_t cpu_get_phys_page_debug(CPUState *env, target_ulong addr) { target_phys_addr_t phys_addr; |