From 3c7b48b74cb017ab6da7c3c0bc205a03943a6274 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Mon, 1 Mar 2010 04:11:28 +0000 Subject: Target specific usermode cleanup Disable various target specific code that is only relevant to system emulation. Signed-off-by: Paul Brook --- target-sh4/cpu.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'target-sh4/cpu.h') diff --git a/target-sh4/cpu.h b/target-sh4/cpu.h index 18a55320f4..f8b1680296 100644 --- a/target-sh4/cpu.h +++ b/target-sh4/cpu.h @@ -169,9 +169,11 @@ int cpu_sh4_handle_mmu_fault(CPUSH4State * env, target_ulong address, int rw, void do_interrupt(CPUSH4State * env); void sh4_cpu_list(FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt, ...)); +#if !defined(CONFIG_USER_ONLY) void cpu_sh4_invalidate_tlb(CPUSH4State *s); void cpu_sh4_write_mmaped_utlb_addr(CPUSH4State *s, target_phys_addr_t addr, uint32_t mem_value); +#endif int cpu_sh4_is_cached(CPUSH4State * env, target_ulong addr); -- cgit v1.2.1