diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2022-02-08 20:08:55 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2022-02-21 13:30:20 +0000 |
commit | ad768e6f2a3397ec88ae874ad743df5d7c8c1936 (patch) | |
tree | f34e909ce9b700b1033830c389642e0105195936 /tcg | |
parent | 5b3e34315a8b2d985299735d685c71d481815bef (diff) |
include: Move qemu_[id]cache_* declarations to new qemu/cacheinfo.h
The qemu_icache_linesize, qemu_icache_linesize_log,
qemu_dcache_linesize, and qemu_dcache_linesize_log variables are not
used in many files. Move them out of osdep.h to a new
qemu/cacheinfo.h, and document them.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220208200856.3558249-5-peter.maydell@linaro.org
Diffstat (limited to 'tcg')
-rw-r--r-- | tcg/region.c | 1 | ||||
-rw-r--r-- | tcg/tcg.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tcg/region.c b/tcg/region.c index 7b4e65a52e..72afb35738 100644 --- a/tcg/region.c +++ b/tcg/region.c @@ -26,6 +26,7 @@ #include "qemu/units.h" #include "qemu/madvise.h" #include "qemu/mprotect.h" +#include "qemu/cacheinfo.h" #include "qapi/error.h" #include "exec/exec-all.h" #include "tcg/tcg.h" @@ -36,6 +36,7 @@ #include "qemu/qemu-print.h" #include "qemu/timer.h" #include "qemu/cacheflush.h" +#include "qemu/cacheinfo.h" /* Note: the long term plan is to reduce the dependencies on the QEMU CPU definitions. Currently they are used for qemu_ld/st |