summary refs log tree commit diff stats
path: root/system/physmem.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-09-30 09:08:54 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-10-07 05:03:56 +0200
commit4db362f68c7cd28a6b1aa2f9ada68aa3556f9613 (patch)
tree2569911d2674ac58a36500c75d1069b567a46e65 /system/physmem.c
parentaa60bdb700f4afa8577a495c734870516910864f (diff)
downloadfocaccia-qemu-4db362f68c7cd28a6b1aa2f9ada68aa3556f9613.tar.gz
focaccia-qemu-4db362f68c7cd28a6b1aa2f9ada68aa3556f9613.zip
system/physmem: Extract API out of 'system/ram_addr.h' header
Very few files use the Physical Memory API. Declare its
methods in their own header: "system/physmem.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Message-Id: <20251001175448.18933-19-philmd@linaro.org>
Diffstat (limited to 'system/physmem.c')
-rw-r--r--system/physmem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/physmem.c b/system/physmem.c
index 347119b8c2..a340ca3e61 100644
--- a/system/physmem.c
+++ b/system/physmem.c
@@ -43,6 +43,7 @@
 #include "system/kvm.h"
 #include "system/tcg.h"
 #include "system/qtest.h"
+#include "system/physmem.h"
 #include "system/ramblock.h"
 #include "qemu/timer.h"
 #include "qemu/config-file.h"