diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-03-29 19:24:00 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-03-29 19:24:00 +0000 |
commit | c3859f6fc009b9f122d472e0869c55c8678f6d9f (patch) | |
tree | b461e05df4e043c3015857ca95fbfdf704bab059 /exec-all.h | |
parent | 3ebdbc7f3484dff5833a1d9bd830c90e7958ac19 (diff) | |
download | qemu-c3859f6fc009b9f122d472e0869c55c8678f6d9f.tar.gz qemu-c3859f6fc009b9f122d472e0869c55c8678f6d9f.tar.bz2 qemu-c3859f6fc009b9f122d472e0869c55c8678f6d9f.zip |
Compile qemu-timer only once
Arrange various declarations so that also non-CPU code can access
them, adjust users.
Move CPU specific code to cpus.c.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'exec-all.h')
-rw-r--r-- | exec-all.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/exec-all.h b/exec-all.h index 37da2f57c3..ff3b24015f 100644 --- a/exec-all.h +++ b/exec-all.h @@ -337,20 +337,6 @@ static inline tb_page_addr_t get_page_addr_code(CPUState *env1, target_ulong add + env1->tlb_table[mmu_idx][page_index].addend; return qemu_ram_addr_from_host(p); } - -/* Deterministic execution requires that IO only be performed on the last - instruction of a TB so that interrupts take effect immediately. */ -static inline int can_do_io(CPUState *env) -{ - if (!use_icount) - return 1; - - /* If not executing code then assume we are ok. */ - if (!env->current_tb) - return 1; - - return env->can_do_io != 0; -} #endif typedef void (CPUDebugExcpHandler)(CPUState *env); |