]> git.ipfire.org Git - thirdparty/qemu.git/commit
include/exec: Split out accel/tcg/cpu-mmu-index.h
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 13 Mar 2025 03:04:59 +0000 (20:04 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 23 Apr 2025 21:08:17 +0000 (14:08 -0700)
commitefe25c260cd69dcfc948e1622bedbdec953569a8
tree6475b2c60830d79158a0032af8eb5e6ff028c16f
parent0b6426ba6c218fa807fe97258d75cb4bc84c860d
include/exec: Split out accel/tcg/cpu-mmu-index.h

The implementation of cpu_mmu_index was split between cpu-common.h
and cpu-all.h, depending on CONFIG_USER_ONLY.  We already have the
plumbing common to user and system mode.  Using MMU_USER_IDX
requires the cpu.h for a specific target, and so is restricted to
when we're compiling per-target.

Include the new header only where needed.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
16 files changed:
include/accel/tcg/cpu-mmu-index.h [new file with mode: 0644]
include/exec/cpu-all.h
include/exec/cpu-common.h
include/exec/cpu_ldst.h
semihosting/uaccess.c
target/arm/gdbstub64.c
target/hppa/mem_helper.c
target/i386/tcg/translate.c
target/loongarch/cpu_helper.c
target/microblaze/helper.c
target/microblaze/mmu.c
target/openrisc/translate.c
target/sparc/cpu.c
target/sparc/mmu_helper.c
target/tricore/helper.c
target/xtensa/mmu_helper.c