diff options
| author | Paolo Bonzini | 2018-05-30 11:58:36 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2018-06-28 19:05:30 +0200 |
| commit | 8bca9a03ec60d63b2ee6a959fe85dda4206811e0 (patch) | |
| tree | 55901e55f66e8089de30f6ada2fc3379ee542d82 /include/exec/exec-all.h | |
| parent | exec: Fix MAP_RAM for cached access (diff) | |
| download | qemu-8bca9a03ec60d63b2ee6a959fe85dda4206811e0.tar.gz qemu-8bca9a03ec60d63b2ee6a959fe85dda4206811e0.tar.xz qemu-8bca9a03ec60d63b2ee6a959fe85dda4206811e0.zip | |
move public invalidate APIs out of translate-all.{c,h}, clean up
Place them in exec.c, exec-all.h and ram_addr.h. This removes
knowledge of translate-all.h (which is an internal header) from
several files outside accel/tcg and removes knowledge of
AddressSpace from translate-all.c (as it only operates on ram_addr_t).
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/exec/exec-all.h')
| -rw-r--r-- | include/exec/exec-all.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h index 25a6f28ab8..6a7e7a866e 100644 --- a/include/exec/exec-all.h +++ b/include/exec/exec-all.h @@ -299,14 +299,14 @@ static inline void tlb_flush_page_by_mmuidx_all_cpus_synced(CPUState *cpu, static inline void tlb_flush_by_mmuidx_all_cpus(CPUState *cpu, uint16_t idxmap) { } + static inline void tlb_flush_by_mmuidx_all_cpus_synced(CPUState *cpu, uint16_t idxmap) { } -static inline void tb_invalidate_phys_addr(AddressSpace *as, hwaddr addr, - MemTxAttrs attrs) -{ -} + +void tb_invalidate_phys_addr(target_ulong addr); +void tb_invalidate_phys_range(target_ulong start, target_ulong end); #endif #define CODE_GEN_ALIGN 16 /* must be >= of the size of a icache line */ |
