]> git.ipfire.org Git - thirdparty/qemu.git/commit
target: Define TCG_GUEST_DEFAULT_MO in 'cpu-param.h'
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 5 Dec 2023 13:31:59 +0000 (14:31 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 26 Apr 2024 13:31:37 +0000 (15:31 +0200)
commite92dd33224603ee5a42e0b13b6e055691325ba47
tree3b762268eaf75aabd579dabc94df8343f837fc74
parent83fb360d6a60b0a77dce3d3643d1a5311a235e58
target: Define TCG_GUEST_DEFAULT_MO in 'cpu-param.h'

accel/tcg/ files requires the following definitions:

  - TARGET_LONG_BITS
  - TARGET_PAGE_BITS
  - TARGET_PHYS_ADDR_SPACE_BITS
  - TCG_GUEST_DEFAULT_MO

The first 3 are defined in "cpu-param.h". The last one
in "cpu.h", with a bunch of definitions irrelevant for
TCG. By moving the TCG_GUEST_DEFAULT_MO definition to
"cpu-param.h", we can simplify various accel/tcg includes.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Nicholas Piggin <npiggin@gmail.com>
Message-Id: <20231211212003.21686-4-philmd@linaro.org>
28 files changed:
target/alpha/cpu-param.h
target/alpha/cpu.h
target/arm/cpu-param.h
target/arm/cpu.h
target/avr/cpu-param.h
target/avr/cpu.h
target/hppa/cpu-param.h
target/hppa/cpu.h
target/i386/cpu-param.h
target/i386/cpu.h
target/loongarch/cpu-param.h
target/loongarch/cpu.h
target/microblaze/cpu-param.h
target/microblaze/cpu.h
target/mips/cpu-param.h
target/mips/cpu.h
target/openrisc/cpu-param.h
target/openrisc/cpu.h
target/ppc/cpu-param.h
target/ppc/cpu.h
target/riscv/cpu-param.h
target/riscv/cpu.h
target/s390x/cpu-param.h
target/s390x/cpu.h
target/sparc/cpu-param.h
target/sparc/cpu.h
target/xtensa/cpu-param.h
target/xtensa/cpu.h