util: Extract flush_icache_range to cacheflush.c
This has been a tcg-specific function, but is also in use by hardware accelerators via physmem.c. This can cause link errors when tcg is disabled. Signed-off-by:Richard Henderson <richard.henderson@linaro.org> Reviewed-by:
Joelle van Dyne <j@getutm.app> Reviewed-by:
Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20201214140314.18544-3-richard.henderson@linaro.org> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Showing
- MAINTAINERS 2 additions, 0 deletionsMAINTAINERS
- include/qemu/cacheflush.h 24 additions, 0 deletionsinclude/qemu/cacheflush.h
- softmmu/physmem.c 1 addition, 0 deletionssoftmmu/physmem.c
- tcg/aarch64/tcg-target.h 0 additions, 5 deletionstcg/aarch64/tcg-target.h
- tcg/arm/tcg-target.h 0 additions, 5 deletionstcg/arm/tcg-target.h
- tcg/i386/tcg-target.h 0 additions, 4 deletionstcg/i386/tcg-target.h
- tcg/mips/tcg-target.h 0 additions, 11 deletionstcg/mips/tcg-target.h
- tcg/ppc/tcg-target.c.inc 0 additions, 22 deletionstcg/ppc/tcg-target.c.inc
- tcg/ppc/tcg-target.h 0 additions, 1 deletiontcg/ppc/tcg-target.h
- tcg/riscv/tcg-target.h 0 additions, 5 deletionstcg/riscv/tcg-target.h
- tcg/s390/tcg-target.h 0 additions, 4 deletionstcg/s390/tcg-target.h
- tcg/sparc/tcg-target.h 0 additions, 8 deletionstcg/sparc/tcg-target.h
- tcg/tcg.c 1 addition, 0 deletionstcg/tcg.c
- tcg/tci/tcg-target.h 0 additions, 4 deletionstcg/tci/tcg-target.h
- util/cacheflush.c 71 additions, 0 deletionsutil/cacheflush.c
- util/meson.build 1 addition, 1 deletionutil/meson.build
Loading
Please register or sign in to comment