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-microblaze/cpu.h | 2 ++ target-microblaze/op_helper.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'target-microblaze') diff --git a/target-microblaze/cpu.h b/target-microblaze/cpu.h index 599938639..ec2ca183d 100644 --- a/target-microblaze/cpu.h +++ b/target-microblaze/cpu.h @@ -327,6 +327,8 @@ static inline void cpu_get_tb_cpu_state(CPUState *env, target_ulong *pc, *flags = env->iflags & IFLAGS_TB_MASK; } +#if !defined(CONFIG_USER_ONLY) void do_unassigned_access(target_phys_addr_t addr, int is_write, int is_exec, int is_asi, int size); #endif +#endif diff --git a/target-microblaze/op_helper.c b/target-microblaze/op_helper.c index 8a9cea2f2..be0c82973 100644 --- a/target-microblaze/op_helper.c +++ b/target-microblaze/op_helper.c @@ -245,7 +245,6 @@ void helper_mmu_write(uint32_t rn, uint32_t v) { mmu_write(env, rn, v); } -#endif void do_unassigned_access(target_phys_addr_t addr, int is_write, int is_exec, int is_asi, int size) @@ -282,3 +281,4 @@ void do_unassigned_access(target_phys_addr_t addr, int is_write, int is_exec, } env = saved_env; } +#endif -- cgit v1.2.3