mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
exec/cpu-all: remove system/memory include
We include this header where needed. When includes set already have ifdef CONFIG_USER_ONLY, we add it here, else, we don't condition the include. 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: <20250325045915.994760-5-pierrick.bouvier@linaro.org>
This commit is contained in:
parent
8d535c312c
commit
342e313d6c
23 changed files with 23 additions and 5 deletions
|
@ -16,6 +16,7 @@
|
|||
#include "migration/vmstate.h"
|
||||
#include "qemu/bitmap.h"
|
||||
#include "system/address-spaces.h"
|
||||
#include "system/memory.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "trace.h"
|
||||
#include <libfdt.h>
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
|
||||
#include "cpu.h"
|
||||
#include "system/address-spaces.h"
|
||||
#include "system/memory.h"
|
||||
#include "hw/qdev-core.h"
|
||||
#include "hw/s390x/ipl/qipl.h"
|
||||
#include "qom/object.h"
|
||||
|
|
|
@ -26,11 +26,6 @@
|
|||
#include "hw/core/cpu.h"
|
||||
#include "exec/cpu-defs.h"
|
||||
#include "exec/target_page.h"
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
#include "system/memory.h"
|
||||
#endif
|
||||
|
||||
|
||||
#include "cpu.h"
|
||||
|
||||
#endif /* CPU_ALL_H */
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
#include "fpu/softfloat-types.h"
|
||||
#include "exec/helper-proto.h"
|
||||
#include "qemu/qemu-print.h"
|
||||
#include "system/memory.h"
|
||||
|
||||
|
||||
#define CONVERT_BIT(X, SRC, DST) \
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
#include <mach/mach_time.h>
|
||||
|
||||
#include "system/address-spaces.h"
|
||||
#include "system/memory.h"
|
||||
#include "hw/boards.h"
|
||||
#include "hw/irq.h"
|
||||
#include "qemu/main-loop.h"
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
#include "exec/breakpoint.h"
|
||||
#include "hw/registerfields.h"
|
||||
#include "tcg/tcg-gvec-desc.h"
|
||||
#include "system/memory.h"
|
||||
#include "syndrome.h"
|
||||
#include "cpu-features.h"
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
|
||||
#include "cpu-qom.h"
|
||||
#include "exec/cpu-defs.h"
|
||||
#include "system/memory.h"
|
||||
#include "qemu/cpu-float.h"
|
||||
#include "qemu/interval-tree.h"
|
||||
#include "hw/registerfields.h"
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include "qemu/osdep.h"
|
||||
#include "cpu.h"
|
||||
#include "system/memory_mapping.h"
|
||||
#include "system/memory.h"
|
||||
|
||||
/* PAE Paging or IA-32e Paging */
|
||||
static void walk_pte(MemoryMappingList *list, AddressSpace *as,
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
#include "system/runstate.h"
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
#include "system/hw_accel.h"
|
||||
#include "system/memory.h"
|
||||
#include "monitor/monitor.h"
|
||||
#include "kvm/kvm_i386.h"
|
||||
#endif
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
#include "system/hvf_int.h"
|
||||
|
||||
#include "system/address-spaces.h"
|
||||
#include "system/memory.h"
|
||||
|
||||
static inline uint64_t rreg(hv_vcpuid_t vcpu, hv_x86_reg_t reg)
|
||||
{
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
#include "exec/helper-proto.h"
|
||||
#include "exec/cpu_ldst.h"
|
||||
#include "system/address-spaces.h"
|
||||
#include "system/memory.h"
|
||||
#include "exec/cputlb.h"
|
||||
#include "tcg/helper-tcg.h"
|
||||
#include "hw/i386/apic.h"
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
#include "system/system.h"
|
||||
#include "qemu/units.h"
|
||||
#include "system/address-spaces.h"
|
||||
#include "system/memory.h"
|
||||
|
||||
#include "tcg/tcg-cpu.h"
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
#include "exec/page-protection.h"
|
||||
#include "exec/gdbstub.h"
|
||||
#include "exec/helper-proto.h"
|
||||
#include "system/memory.h"
|
||||
#include "gdbstub/helpers.h"
|
||||
#include "fpu/softfloat.h"
|
||||
#include "qemu/qemu-print.h"
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
#include "qemu/osdep.h"
|
||||
#include "qemu/main-loop.h"
|
||||
#include "qemu/log.h"
|
||||
#include "system/memory.h"
|
||||
#include "system/tcg.h"
|
||||
#include "system/system.h"
|
||||
#include "system/runstate.h"
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "system/memory.h"
|
||||
#include "cpu.h"
|
||||
#include "mmu-hash64.h"
|
||||
#include "mmu-book3s-v3.h"
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
|
||||
#include "system/memory.h"
|
||||
|
||||
bool ppc_hash32_xlate(PowerPCCPU *cpu, vaddr eaddr, MMUAccessType access_type,
|
||||
hwaddr *raddrp, int *psizep, int *protp, int mmu_idx,
|
||||
bool guest_visible);
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
#include "qemu/error-report.h"
|
||||
#include "qemu/qemu-print.h"
|
||||
#include "system/hw_accel.h"
|
||||
#include "system/memory.h"
|
||||
#include "kvm_ppc.h"
|
||||
#include "mmu-hash64.h"
|
||||
#include "exec/log.h"
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
#include "exec/page-protection.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "system/kvm.h"
|
||||
#include "system/memory.h"
|
||||
#include "kvm_ppc.h"
|
||||
#include "exec/log.h"
|
||||
#include "internal.h"
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
#include "exec/cputlb.h"
|
||||
#include "exec/exec-all.h"
|
||||
#include "exec/page-protection.h"
|
||||
#include "system/memory.h"
|
||||
#include "instmap.h"
|
||||
#include "tcg/tcg-op.h"
|
||||
#include "accel/tcg/cpu-ops.h"
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
#include "exec/cputlb.h"
|
||||
#include "exec/page-protection.h"
|
||||
#include "exec/cpu_ldst.h"
|
||||
#include "system/memory.h"
|
||||
#ifdef CONFIG_USER_ONLY
|
||||
#include "user/page-protection.h"
|
||||
#endif
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
#include "accel/tcg/cpu-mmu-index.h"
|
||||
#include "exec/page-protection.h"
|
||||
#include "exec/tlb-flags.h"
|
||||
#include "system/memory.h"
|
||||
#include "qemu/qemu-print.h"
|
||||
#include "trace.h"
|
||||
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
#include "accel/tcg/cpu-mmu-index.h"
|
||||
#include "exec/exec-all.h"
|
||||
#include "exec/page-protection.h"
|
||||
#include "system/memory.h"
|
||||
|
||||
#define XTENSA_MPU_SEGMENT_MASK 0x0000001f
|
||||
#define XTENSA_MPU_ACC_RIGHTS_MASK 0x00000f00
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
#include "exec/page-protection.h"
|
||||
#include "qemu/host-utils.h"
|
||||
#include "exec/exec-all.h"
|
||||
#include "system/memory.h"
|
||||
#include "qemu/atomic.h"
|
||||
#include "qemu/timer.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue