summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPierrick Bouvier <pierrick.bouvier@linaro.org>2025-03-17 11:34:08 -0700
committerRichard Henderson <richard.henderson@linaro.org>2025-04-23 13:52:25 -0700
commitede39130af7d325e8dbc6b533a86cb384fdee65d (patch)
treea3cfa7f3ecb4ef88e4eea6f83e58708eea3ff5db
parent9ed7bcff051217d4cdeefc97ef3f4b41ab2fbfbe (diff)
downloadfocaccia-qemu-ede39130af7d325e8dbc6b533a86cb384fdee65d.tar.gz
focaccia-qemu-ede39130af7d325e8dbc6b533a86cb384fdee65d.zip
exec/ram_addr: remove dependency on cpu.h
Needed so compilation units including it can be common.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20250317183417.285700-10-pierrick.bouvier@linaro.org>
-rw-r--r--include/exec/ram_addr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/exec/ram_addr.h b/include/exec/ram_addr.h
index e4c28fbec9..f5d574261a 100644
--- a/include/exec/ram_addr.h
+++ b/include/exec/ram_addr.h
@@ -20,13 +20,14 @@
 #define RAM_ADDR_H
 
 #ifndef CONFIG_USER_ONLY
-#include "cpu.h"
 #include "system/xen.h"
 #include "system/tcg.h"
 #include "exec/cputlb.h"
 #include "exec/ramlist.h"
 #include "exec/ramblock.h"
 #include "exec/exec-all.h"
+#include "exec/memory.h"
+#include "exec/target_page.h"
 #include "qemu/rcu.h"
 
 #include "exec/hwaddr.h"