summaryrefslogtreecommitdiff
path: root/cpu-all.h
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2010-03-01 03:46:18 +0000
committerPaul Brook <paul@codesourcery.com>2010-03-12 18:34:25 +0000
commit8fc28581cc2c6940d43efae6ff077c412147fa68 (patch)
tree6d298bdb510b2687b6c80c36bcd555fb0ee7d0d6 /cpu-all.h
parentbb7b7cfb9899cdd549af2eefcdd4719ff1cef04b (diff)
downloadqemu-8fc28581cc2c6940d43efae6ff077c412147fa68.tar.gz
qemu-8fc28581cc2c6940d43efae6ff077c412147fa68.tar.bz2
qemu-8fc28581cc2c6940d43efae6ff077c412147fa68.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 'cpu-all.h')
-rw-r--r--cpu-all.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpu-all.h b/cpu-all.h
index e32ea47cfa..481f5277c8 100644
--- a/cpu-all.h
+++ b/cpu-all.h
@@ -820,11 +820,6 @@ void cpu_watchpoint_remove_all(CPUState *env, int mask);
void cpu_single_step(CPUState *env, int enabled);
void cpu_reset(CPUState *s);
-/* Return the physical page corresponding to a virtual one. Use it
- only for debugging because no protection checks are done. Return -1
- if no page found. */
-target_phys_addr_t cpu_get_phys_page_debug(CPUState *env, target_ulong addr);
-
#define CPU_LOG_TB_OUT_ASM (1 << 0)
#define CPU_LOG_TB_IN_ASM (1 << 1)
#define CPU_LOG_TB_OP (1 << 2)
@@ -851,6 +846,11 @@ int cpu_str_to_log_mask(const char *str);
#if !defined(CONFIG_USER_ONLY)
+/* Return the physical page corresponding to a virtual one. Use it
+ only for debugging because no protection checks are done. Return -1
+ if no page found. */
+target_phys_addr_t cpu_get_phys_page_debug(CPUState *env, target_ulong addr);
+
/* memory API */
extern int phys_ram_fd;