summaryrefslogtreecommitdiffstats
path: root/cpu.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2022-02-07 15:28:56 +0100
committerPhilippe Mathieu-Daudé2022-03-06 13:15:42 +0100
commit3b04508cceda452a57b4ff1eee53466bdf763d6f (patch)
tree84e10728419cde0655d37b185bae9956bac63182 /cpu.c
parentexec/cpu_ldst: Include 'cpu.h' to get target_ulong definition (diff)
downloadqemu-3b04508cceda452a57b4ff1eee53466bdf763d6f.tar.gz
qemu-3b04508cceda452a57b4ff1eee53466bdf763d6f.tar.xz
qemu-3b04508cceda452a57b4ff1eee53466bdf763d6f.zip
cpu: Add missing 'exec/exec-all.h' and 'qemu/accel.h' headers
cpu.c requires "exec/exec-all.h" to call tlb_flush() and "qemu/accel.h" to call accel_cpu_realizefn(). Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20220214183144.27402-6-f4bug@amsat.org>
Diffstat (limited to 'cpu.c')
-rw-r--r--cpu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu.c b/cpu.c
index d5d4cbf8cb..d564886149 100644
--- a/cpu.c
+++ b/cpu.c
@@ -35,10 +35,12 @@
#include "sysemu/tcg.h"
#include "sysemu/kvm.h"
#include "sysemu/replay.h"
+#include "exec/exec-all.h"
#include "exec/translate-all.h"
#include "exec/log.h"
#include "hw/core/accel-cpu.h"
#include "trace/trace-root.h"
+#include "qemu/accel.h"
uintptr_t qemu_host_page_size;
intptr_t qemu_host_page_mask;