diff options
author | Paul Brook <paul@codesourcery.com> | 2010-03-01 04:11:28 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2010-03-12 18:44:24 +0000 |
commit | 3c7b48b74cb017ab6da7c3c0bc205a03943a6274 (patch) | |
tree | ed0713ad05f3ea31fbb3d7c9e546fa0f45c86666 /target-sh4 | |
parent | 4fcc562bff94c28cc06d510d87280afc467add6d (diff) |
Target specific usermode cleanup
Disable various target specific code that is only relevant to system emulation.
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'target-sh4')
-rw-r--r-- | target-sh4/cpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |