qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: qemu-devel@nongnu.org
Cc: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Subject: [PULL 008/148] exec/memory-internal: remove dependency on cpu.h
Date: Wed, 23 Apr 2025 17:47:13 -0700	[thread overview]
Message-ID: <20250424004934.598783-9-richard.henderson@linaro.org> (raw)
In-Reply-To: <20250424004934.598783-1-richard.henderson@linaro.org>

From: Pierrick Bouvier <pierrick.bouvier@linaro.org>

Needed so compilation units including it can be common.

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-9-pierrick.bouvier@linaro.org>
---
 include/exec/memory-internal.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/exec/memory-internal.h b/include/exec/memory-internal.h
index 100c1237ac..b729f3b25a 100644
--- a/include/exec/memory-internal.h
+++ b/include/exec/memory-internal.h
@@ -20,8 +20,6 @@
 #ifndef MEMORY_INTERNAL_H
 #define MEMORY_INTERNAL_H
 
-#include "cpu.h"
-
 #ifndef CONFIG_USER_ONLY
 static inline AddressSpaceDispatch *flatview_to_dispatch(FlatView *fv)
 {
-- 
2.43.0



  parent reply	other threads:[~2025-04-24  1:04 UTC|newest]

Thread overview: 150+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-24  0:47 [PULL 000/148] single-binary patch queue Richard Henderson
2025-04-24  0:47 ` [PULL 001/148] exec/tswap: target code can use TARGET_BIG_ENDIAN instead of target_words_bigendian() Richard Henderson
2025-04-24  0:47 ` [PULL 002/148] exec/tswap: implement {ld, st}.*_p as functions instead of macros Richard Henderson
2025-04-24  0:47 ` [PULL 003/148] exec/memory_ldst: extract memory_ldst declarations from cpu-all.h Richard Henderson
2025-04-24  0:47 ` [PULL 004/148] exec/memory_ldst_phys: extract memory_ldst_phys " Richard Henderson
2025-04-24  0:47 ` [PULL 005/148] exec/memory.h: make devend_memop "target defines" agnostic Richard Henderson
2025-04-24  0:47 ` [PULL 006/148] codebase: prepare to remove cpu.h from exec/exec-all.h Richard Henderson
2025-04-24  0:47 ` [PULL 007/148] exec/exec-all: remove dependency on cpu.h Richard Henderson
2025-04-24  0:47 ` Richard Henderson [this message]
2025-04-24  0:47 ` [PULL 009/148] exec/ram_addr: " Richard Henderson
2025-04-24  0:47 ` [PULL 010/148] system/kvm: make kvm_flush_coalesced_mmio_buffer() accessible for common code Richard Henderson
2025-04-24  0:47 ` [PULL 011/148] exec/ram_addr: call xen_hvm_modified_memory only if xen is enabled Richard Henderson
2025-04-24  0:47 ` [PULL 012/148] hw/xen: add stubs for various functions Richard Henderson
2025-04-24  0:47 ` [PULL 013/148] system/xen: remove inline stubs Richard Henderson
2025-04-24  0:47 ` [PULL 014/148] system/physmem: compilation unit is now common to all targets Richard Henderson
2025-04-24  0:47 ` [PULL 015/148] include/exec/memory: extract devend_big_endian from devend_memop Richard Henderson
2025-04-24  0:47 ` [PULL 016/148] include/exec/memory: move devend functions to memory-internal.h Richard Henderson
2025-04-24  0:47 ` [PULL 017/148] system/memory: make compilation unit common Richard Henderson
2025-04-24  0:47 ` [PULL 018/148] system/ioport: " Richard Henderson
2025-04-24  0:47 ` [PULL 019/148] accel/tcg: Build user-exec-stub.c once Richard Henderson
2025-04-24  0:47 ` [PULL 020/148] accel/tcg: Build plugin-gen.c once Richard Henderson
2025-04-24  0:47 ` [PULL 021/148] accel/tcg: Fix cpu_ld*_code_mmu for user mode Richard Henderson
2025-04-24  0:47 ` [PULL 022/148] include/exec: Use vaddr for *_mmu guest memory access routines Richard Henderson
2025-04-24  0:47 ` [PULL 023/148] include/exec: Split out cpu-ldst-common.h Richard Henderson
2025-04-24  0:47 ` [PULL 024/148] include/exec: Split out accel/tcg/cpu-mmu-index.h Richard Henderson
2025-04-24  0:47 ` [PULL 025/148] include/exec: Inline *_mmuidx_ra memory operations Richard Henderson
2025-04-24  0:47 ` [PULL 026/148] include/exec: Inline *_data_ra " Richard Henderson
2025-04-24  0:47 ` [PULL 027/148] include/exec: Inline *_data " Richard Henderson
2025-04-24  0:47 ` [PULL 028/148] include/exec: Inline *_code " Richard Henderson
2025-04-24  0:47 ` [PULL 029/148] accel/tcg: Perform aligned atomic reads in translator_ld Richard Henderson
2025-04-24  0:47 ` [PULL 030/148] accel/tcg: Use cpu_ld*_code_mmu in translator.c Richard Henderson
2025-04-24  0:47 ` [PULL 031/148] accel/tcg: Implement translator_ld*_end Richard Henderson
2025-04-24  0:47 ` [PULL 032/148] accel/tcg: Remove mmap_lock/unlock from watchpoint.c Richard Henderson
2025-04-24  0:47 ` [PULL 033/148] include/exec: Split out mmap-lock.h Richard Henderson
2025-04-24  0:47 ` [PULL 034/148] include/system: Move exec/memory.h to system/memory.h Richard Henderson
2025-04-24  0:47 ` [PULL 035/148] include/system: Move exec/address-spaces.h to system/address-spaces.h Richard Henderson
2025-04-24  0:47 ` [PULL 036/148] include/system: Move exec/ioport.h to system/ioport.h Richard Henderson
2025-04-24  0:47 ` [PULL 037/148] include/system: Move exec/ram_addr.h to system/ram_addr.h Richard Henderson
2025-04-24  0:47 ` [PULL 038/148] include/system: Move exec/ramblock.h to system/ramblock.h Richard Henderson
2025-04-24  0:47 ` [PULL 039/148] accel/tcg: Remove unnecesary inclusion of memory-internal.h in cputlb.c Richard Henderson
2025-04-24  0:47 ` [PULL 040/148] exec: Restrict memory-internal.h to system/ Richard Henderson
2025-04-24  0:47 ` [PULL 041/148] meson: Introduce top-level libuser_ss and libsystem_ss Richard Henderson
2025-04-24  0:47 ` [PULL 042/148] gdbstub: Move syscalls.c out of common_ss Richard Henderson
2025-04-24  0:47 ` [PULL 043/148] accel/tcg: Use libuser_ss and libsystem_ss Richard Henderson
2025-04-24  0:47 ` [PULL 044/148] target/mips: Restrict semihosting tests to system mode Richard Henderson
2025-04-24  0:47 ` [PULL 045/148] target/xtensa: " Richard Henderson
2025-04-24  0:47 ` [PULL 046/148] semihosting: Move user-only implementation out-of-line Richard Henderson
2025-04-24  0:47 ` [PULL 047/148] semihosting: Assert is_user in user-only semihosting_enabled Richard Henderson
2025-04-24  0:47 ` [PULL 048/148] include/exec: Split out watchpoint.h Richard Henderson
2025-04-24  0:47 ` [PULL 049/148] hw/core: Move unconditional files to libsystem_ss, libuser_ss Richard Henderson
2025-04-24  0:47 ` [PULL 050/148] system: Move most files to libsystem_ss Richard Henderson
2025-04-24  0:47 ` [PULL 051/148] plugins: Move api.c, core.c to libuser_ss, libsystem_ss Richard Henderson
2025-04-24  0:47 ` [PULL 052/148] include/exec: Drop ifndef CONFIG_USER_ONLY from cpu-common.h Richard Henderson
2025-04-24  0:47 ` [PULL 053/148] include/hw/core: Drop ifndef CONFIG_USER_ONLY from cpu.h Richard Henderson
2025-04-24  0:47 ` [PULL 054/148] include/hw/intc: Remove ifndef CONFIG_USER_ONLY from armv7m_nvic.h Richard Henderson
2025-04-24  0:48 ` [PULL 055/148] include/hw/s390x: Remove ifndef CONFIG_USER_ONLY in css.h Richard Henderson
2025-04-24  0:48 ` [PULL 056/148] include/exec: Split out icount.h Richard Henderson
2025-04-24  0:48 ` [PULL 057/148] include/exec: Protect icount_enabled from poisoned symbols Richard Henderson
2025-04-24  0:48 ` [PULL 058/148] include/system: Remove ifndef CONFIG_USER_ONLY in qtest.h Richard Henderson
2025-04-24  0:48 ` [PULL 059/148] include/qemu: Remove ifndef CONFIG_USER_ONLY from accel.h Richard Henderson
2025-04-24  0:48 ` [PULL 060/148] target/riscv: Remove ifndef CONFIG_USER_ONLY from cpu_cfg.h Richard Henderson
2025-04-24  0:48 ` [PULL 061/148] meson: Only allow CONFIG_USER_ONLY from certain source sets Richard Henderson
2025-04-24  0:48 ` [PULL 062/148] exec/cpu-all: extract tlb flags defines to exec/tlb-flags.h Richard Henderson
2025-04-24  0:48 ` [PULL 063/148] accel/tcg: Fix argument types of tlb_reset_dirty Richard Henderson
2025-04-24  0:48 ` [PULL 064/148] accel/tcg: Pass CPUTLBEntryFull to tlb_reset_dirty_range_locked Richard Henderson
2025-04-24  0:48 ` [PULL 065/148] accel/tcg: Rebuild full flags in tlb_reset_dirty_range_locked Richard Henderson
2025-04-24  0:48 ` [PULL 066/148] include/exec: Move TLB_MMIO, TLB_DISCARD_WRITE to slow flags Richard Henderson
2025-04-24  0:48 ` [PULL 067/148] include/exec: Move tb_{, set_}page_addr[01] to translation-block.h Richard Henderson
2025-04-24  0:48 ` [PULL 068/148] accel/tcg: Move get_page_addr_code* declarations Richard Henderson
2025-04-24  0:48 ` [PULL 069/148] accel/tcg: Remove page_protect Richard Henderson
2025-04-24  0:48 ` [PULL 070/148] accel/tcg: Remove cpu-all.h, exec-all.h from tb-internal.h Richard Henderson
2025-04-24  0:48 ` [PULL 071/148] target/rx: Fix copy/paste typo (riscv -> rx) Richard Henderson
2025-04-24  0:48 ` [PULL 072/148] hw/core/cpu: Update CPUClass::mmu_index docstring Richard Henderson
2025-04-24  0:48 ` [PULL 073/148] accel/tcg: Introduce TCGCPUOps::mmu_index() callback Richard Henderson
2025-04-24  0:48 ` [PULL 074/148] target/alpha: Restrict SoftMMU mmu_index() to TCG Richard Henderson
2025-04-24  0:48 ` [PULL 075/148] target/arm: " Richard Henderson
2025-04-24  0:48 ` [PULL 076/148] target/avr: " Richard Henderson
2025-04-24  0:48 ` [PULL 077/148] target/hppa: " Richard Henderson
2025-04-24  0:48 ` [PULL 078/148] target/i386: Remove unused cpu_(ldub, stb)_kernel macros Richard Henderson
2025-04-24  0:48 ` [PULL 079/148] target/i386: Restrict cpu_mmu_index_kernel() to TCG Richard Henderson
2025-04-24  0:48 ` [PULL 080/148] target/i386: Restrict SoftMMU mmu_index() " Richard Henderson
2025-04-24  0:48 ` [PULL 081/148] target/loongarch: " Richard Henderson
2025-04-24  0:48 ` [PULL 082/148] target/m68k: " Richard Henderson
2025-04-24  0:48 ` [PULL 083/148] target/microblaze: " Richard Henderson
2025-04-24  0:48 ` [PULL 084/148] target/mips: " Richard Henderson
2025-04-24  0:48 ` [PULL 085/148] target/openrisc: " Richard Henderson
2025-04-24  0:48 ` [PULL 086/148] target/ppc: " Richard Henderson
2025-04-24  0:48 ` [PULL 087/148] target/riscv: " Richard Henderson
2025-04-24  0:48 ` [PULL 088/148] target/rx: " Richard Henderson
2025-04-24  0:48 ` [PULL 089/148] target/s390x: " Richard Henderson
2025-04-24  0:48 ` [PULL 090/148] target/sh4: " Richard Henderson
2025-04-24  0:48 ` [PULL 091/148] target/sparc: " Richard Henderson
2025-04-24  0:48 ` [PULL 092/148] target/tricore: " Richard Henderson
2025-04-24  0:48 ` [PULL 093/148] target/xtensa: " Richard Henderson
2025-04-24  0:48 ` [PULL 094/148] target/hexagon: Implement TCGCPUOps.mmu_index Richard Henderson
2025-04-24  0:48 ` [PULL 095/148] hw/core/cpu: Remove CPUClass::mmu_index() Richard Henderson
2025-04-24  0:48 ` [PULL 096/148] accel/tcg: Build translator.c twice Richard Henderson
2025-04-24  0:48 ` [PULL 097/148] accel/tcg: Split out tlb-bounds.h Richard Henderson
2025-04-24  0:48 ` [PULL 098/148] include/exec: Redefine tlb-flags with absolute values Richard Henderson
2025-04-24  0:48 ` [PULL 099/148] page-vary: Move and rename qemu_target_page_bits_min Richard Henderson
2025-04-24  0:48 ` [PULL 100/148] page-vary: Restrict scope of TARGET_PAGE_BITS_MIN Richard Henderson
2025-04-24  0:48 ` [PULL 101/148] exec/cpu-all: move cpu_copy to linux-user/qemu.h Richard Henderson
2025-04-24  0:48 ` [PULL 102/148] include/exec/cpu-all: move compile time check for CPUArchState to cpu-target.c Richard Henderson
2025-04-24  0:48 ` [PULL 103/148] exec/cpu-all: remove system/memory include Richard Henderson
2025-04-24  0:48 ` [PULL 104/148] exec/cpu-all: remove exec/page-protection include Richard Henderson
2025-04-24  0:48 ` [PULL 105/148] exec/cpu-all: remove tswap include Richard Henderson
2025-04-24  0:48 ` [PULL 106/148] exec/cpu-all: remove exec/cpu-interrupt include Richard Henderson
2025-04-24  0:48 ` [PULL 107/148] accel/tcg: fix missing includes for TCG_GUEST_DEFAULT_MO Richard Henderson
2025-04-24  0:48 ` [PULL 108/148] accel/tcg: fix missing includes for TARGET_HAS_PRECISE_SMC Richard Henderson
2025-04-24  0:48 ` [PULL 109/148] exec/cpu-all: remove cpu include Richard Henderson
2025-04-24  0:48 ` [PULL 110/148] exec/cpu-all: remove exec/target_page include Richard Henderson
2025-04-24  0:48 ` [PULL 111/148] exec/cpu-all: transfer exec/cpu-common include to cpu.h headers Richard Henderson
2025-04-24  0:48 ` [PULL 112/148] exec/cpu-all: remove this header Richard Henderson
2025-04-24  0:48 ` [PULL 113/148] accel/kvm: move KVM_HAVE_MCE_INJECTION define to kvm-all.c Richard Henderson
2025-04-24  0:48 ` [PULL 114/148] exec/poison: KVM_HAVE_MCE_INJECTION can now be poisoned Richard Henderson
2025-04-24  0:49 ` [PULL 115/148] target/arm/cpu: always define kvm related registers Richard Henderson
2025-04-24  0:49 ` [PULL 116/148] target/arm/cpu: flags2 is always uint64_t Richard Henderson
2025-04-24  0:49 ` [PULL 117/148] target/arm/cpu: define same set of registers for aarch32 and aarch64 Richard Henderson
2025-04-24  0:49 ` [PULL 118/148] target/arm/cpu: remove inline stubs for aarch32 emulation Richard Henderson
2025-04-24  0:49 ` [PULL 119/148] target/arm: Expose Aarch64 helpers unconditionally Richard Henderson
2025-04-24  0:49 ` [PULL 120/148] meson: add common hw files Richard Henderson
2025-04-24  0:49 ` [PULL 121/148] hw/arm/boot: make compilation unit hw common Richard Henderson
2025-04-24  0:49 ` [PULL 122/148] hw/arm/digic_boards: prepare compilation unit to be common Richard Henderson
2025-04-24  0:49 ` [PULL 123/148] hw/arm/xlnx-zynqmp: " Richard Henderson
2025-04-24  0:49 ` [PULL 124/148] hw/arm/xlnx-versal: " Richard Henderson
2025-04-24  0:49 ` [PULL 125/148] hw/arm: make most of the compilation units common Richard Henderson
2025-04-24  0:49 ` [PULL 126/148] target/riscv: Do not expose rv128 CPU on user mode emulation Richard Henderson
2025-04-24  0:49 ` [PULL 127/148] tcg: Include missing 'cpu.h' in translate-all.c Richard Henderson
2025-04-24  0:49 ` [PULL 128/148] tcg: Declare TARGET_INSN_START_EXTRA_WORDS in 'cpu-param.h' Richard Henderson
2025-04-24  0:49 ` [PULL 129/148] tcg: Always define TARGET_INSN_START_EXTRA_WORDS Richard Henderson
2025-04-24  0:49 ` [PULL 130/148] exec: Restrict 'cpu-ldst-common.h' to accel/tcg/ Richard Henderson
2025-04-24  0:49 ` [PULL 131/148] exec: Restrict 'cpu_ldst.h' " Richard Henderson
2025-04-24  0:49 ` [PULL 132/148] exec: Do not include 'accel/tcg/cpu-ldst.h' in 'exec-all.h' Richard Henderson
2025-04-24  0:49 ` [PULL 133/148] tcg: Always define TCG_GUEST_DEFAULT_MO Richard Henderson
2025-04-24  0:49 ` [PULL 134/148] tcg: Simplify tcg_req_mo() macro Richard Henderson
2025-04-24  0:49 ` [PULL 135/148] tcg: Define guest_default_memory_order in TCGCPUOps Richard Henderson
2025-04-24  0:49 ` [PULL 136/148] tcg: Remove use of TCG_GUEST_DEFAULT_MO in tb_gen_code() Richard Henderson
2025-04-24  0:49 ` [PULL 137/148] tcg: Propagate CPUState argument to cpu_req_mo() Richard Henderson
2025-04-24  0:49 ` [PULL 138/148] tcg: Have tcg_req_mo() use TCGCPUOps::guest_default_memory_order Richard Henderson
2025-04-24  0:49 ` [PULL 139/148] tcg: Remove the TCG_GUEST_DEFAULT_MO definition globally Richard Henderson
2025-04-24  0:49 ` [PULL 140/148] tcg: Move cpu_req_mo() macro to target-agnostic 'backend-ldst.h' Richard Henderson
2025-04-24  0:49 ` [PULL 141/148] tcg: Pass max_threads not max_cpus to tcg_init Richard Henderson
2025-04-24  0:49 ` [PULL 142/148] tcg: Move qemu_tcg_mttcg_enabled() to 'system/tcg.h' Richard Henderson
2025-04-24  0:49 ` [PULL 143/148] accel/tcg: Remove mttcg_enabled Richard Henderson
2025-04-24  0:49 ` [PULL 144/148] tcg: Convert TCGState::mttcg_enabled to TriState Richard Henderson
2025-04-24  0:49 ` [PULL 145/148] accel/tcg: Move mttcg warning to tcg_init_machine Richard Henderson
2025-04-24  0:49 ` [PULL 146/148] target/riscv: Remove AccelCPUClass::cpu_class_init need Richard Henderson
2025-04-24  0:49 ` [PULL 147/148] target/i386: " Richard Henderson
2025-04-24  0:49 ` [PULL 148/148] tcg: Convert TARGET_SUPPORTS_MTTCG to TCGCPUOps::mttcg_supported field Richard Henderson
2025-04-24 21:19 ` [PULL 000/148] single-binary patch queue Stefan Hajnoczi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250424004934.598783-9-richard.henderson@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=pierrick.bouvier@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).