From 4fcc562bff94c28cc06d510d87280afc467add6d Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Mon, 1 Mar 2010 03:46:18 +0000 Subject: 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 --- cpu-all.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'cpu-all.h') 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; -- cgit v1.2.3