include/system: Move exec/memory.h to system/memory.h

Convert the existing includes with

  sed -i ,exec/memory.h,system/memory.h,g

Move the include within cpu-all.h into a !CONFIG_USER_ONLY block.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
Richard Henderson 2025-03-12 12:11:21 -07:00
parent 4d3ad3c3ba
commit 8be545ba5a
155 changed files with 160 additions and 161 deletions

View file

@ -22,11 +22,14 @@
#include "exec/page-protection.h"
#include "exec/cpu-common.h"
#include "exec/cpu-interrupt.h"
#include "exec/memory.h"
#include "exec/tswap.h"
#include "hw/core/cpu.h"
#include "exec/cpu-defs.h"
#include "exec/target_page.h"
#ifndef CONFIG_USER_ONLY
#include "system/memory.h"
#endif
CPUArchState *cpu_copy(CPUArchState *env);

View file

@ -24,7 +24,7 @@
#ifndef IOPORT_H
#define IOPORT_H
#include "exec/memory.h"
#include "system/memory.h"
#define MAX_IOPORTS (64 * 1024)
#define IOPORTS_MASK (MAX_IOPORTS - 1)

File diff suppressed because it is too large Load diff

View file

@ -26,7 +26,7 @@
#include "exec/ramlist.h"
#include "exec/ramblock.h"
#include "exec/exec-all.h"
#include "exec/memory.h"
#include "system/memory.h"
#include "exec/target_page.h"
#include "qemu/rcu.h"