diff options
author | Paul Brook <paul@codesourcery.com> | 2010-03-12 16:54:58 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2010-03-12 18:34:25 +0000 |
commit | bb7b7cfb9899cdd549af2eefcdd4719ff1cef04b (patch) | |
tree | 9ca60af42732d0df7c5b81a7ca6ced26ea8d4494 /exec-all.h | |
parent | 0753dbb4aee97a5c6633bf5acf394e1508746cb6 (diff) | |
download | qemu-bb7b7cfb9899cdd549af2eefcdd4719ff1cef04b.tar.gz qemu-bb7b7cfb9899cdd549af2eefcdd4719ff1cef04b.tar.bz2 qemu-bb7b7cfb9899cdd549af2eefcdd4719ff1cef04b.zip |
Disable phsyical memory handling in userspace emulation.
Code to handle physical memory access is not meaningful in usrmode emulation,
so disable it.
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'exec-all.h')
-rw-r--r-- | exec-all.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/exec-all.h b/exec-all.h index 04d2146e75..6c44d32f85 100644 --- a/exec-all.h +++ b/exec-all.h @@ -274,10 +274,6 @@ static inline void tb_add_jump(TranslationBlock *tb, int n, TranslationBlock *tb_find_pc(unsigned long pc_ptr); -extern CPUWriteMemoryFunc *io_mem_write[IO_MEM_NB_ENTRIES][4]; -extern CPUReadMemoryFunc *io_mem_read[IO_MEM_NB_ENTRIES][4]; -extern void *io_mem_opaque[IO_MEM_NB_ENTRIES]; - #include "qemu-lock.h" extern spinlock_t tb_lock; @@ -286,6 +282,10 @@ extern int tb_invalidated_flag; #if !defined(CONFIG_USER_ONLY) +extern CPUWriteMemoryFunc *io_mem_write[IO_MEM_NB_ENTRIES][4]; +extern CPUReadMemoryFunc *io_mem_read[IO_MEM_NB_ENTRIES][4]; +extern void *io_mem_opaque[IO_MEM_NB_ENTRIES]; + void tlb_fill(target_ulong addr, int is_write, int mmu_idx, void *retaddr); |