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-microblaze | |
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-microblaze')
-rw-r--r-- | target-microblaze/cpu.h | 2 | ||||
-rw-r--r-- | target-microblaze/op_helper.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/target-microblaze/cpu.h b/target-microblaze/cpu.h index 599938639a..ec2ca183d7 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 8a9cea2f27..be0c829735 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 |