summary refs log tree commit diff stats
path: root/plugins/loader.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2022-02-08 20:08:55 +0000
committerPeter Maydell <peter.maydell@linaro.org>2022-02-21 13:30:20 +0000
commitad768e6f2a3397ec88ae874ad743df5d7c8c1936 (patch)
treef34e909ce9b700b1033830c389642e0105195936 /plugins/loader.c
parent5b3e34315a8b2d985299735d685c71d481815bef (diff)
downloadfocaccia-qemu-ad768e6f2a3397ec88ae874ad743df5d7c8c1936.tar.gz
focaccia-qemu-ad768e6f2a3397ec88ae874ad743df5d7c8c1936.zip
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 'plugins/loader.c')
-rw-r--r--plugins/loader.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/loader.c b/plugins/loader.c
index a4ec281692..4883b0a1cb 100644
--- a/plugins/loader.c
+++ b/plugins/loader.c
@@ -24,6 +24,7 @@
 #include "qemu/rcu_queue.h"
 #include "qemu/qht.h"
 #include "qemu/bitmap.h"
+#include "qemu/cacheinfo.h"
 #include "qemu/xxhash.h"
 #include "qemu/plugin.h"
 #include "hw/core/cpu.h"