qemu/target
Philippe Mathieu-Daudé 27a6e78ef0 target/riscv: Move TYPE_RISCV_CPU_BASE definition to 'cpu.h'
TYPE_RISCV_CPU_BASE depends on the TARGET_RISCV32/TARGET_RISCV64
definitions which are target specific. Such target specific
definition taints "cpu-qom.h".

Since "cpu-qom.h" must be target agnostic, remove its target
specific definition uses by moving TYPE_RISCV_CPU_BASE to
"target/riscv/cpu.h".

"target/riscv/cpu-qom.h" is now fully target agnostic.
Add a comment clarifying that in the header.

Reviewed-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231013140116.255-12-philmd@linaro.org>
2023-11-07 12:13:27 +01:00
..
alpha target: Declare FOO_CPU_TYPE_NAME/SUFFIX in 'cpu-qom.h' 2023-11-07 12:13:27 +01:00
arm target/arm: Move internal declarations from 'cpu-qom.h' to 'cpu.h' 2023-11-07 12:13:27 +01:00
avr target: Declare FOO_CPU_TYPE_NAME/SUFFIX in 'cpu-qom.h' 2023-11-07 12:13:27 +01:00
cris target: Declare FOO_CPU_TYPE_NAME/SUFFIX in 'cpu-qom.h' 2023-11-07 12:13:27 +01:00
hexagon target/hexagon: Declare QOM definitions in 'cpu-qom.h' 2023-11-07 12:13:27 +01:00
hppa target: Mention 'cpu-qom.h' is target agnostic 2023-11-07 12:13:27 +01:00
i386 target: Declare FOO_CPU_TYPE_NAME/SUFFIX in 'cpu-qom.h' 2023-11-07 12:13:27 +01:00
loongarch target/loongarch: Declare QOM definitions in 'cpu-qom.h' 2023-11-07 12:13:27 +01:00
m68k target: Declare FOO_CPU_TYPE_NAME/SUFFIX in 'cpu-qom.h' 2023-11-07 12:13:27 +01:00
microblaze target: Mention 'cpu-qom.h' is target agnostic 2023-11-07 12:13:27 +01:00
mips target: Declare FOO_CPU_TYPE_NAME/SUFFIX in 'cpu-qom.h' 2023-11-07 12:13:27 +01:00
nios2 target/nios2: Declare QOM definitions in 'cpu-qom.h' 2023-11-07 12:13:27 +01:00
openrisc target/openrisc: Declare QOM definitions in 'cpu-qom.h' 2023-11-07 12:13:27 +01:00
ppc target/ppc: Remove CPU_RESOLVING_TYPE from 'cpu-qom.h' 2023-11-07 12:13:27 +01:00
riscv target/riscv: Move TYPE_RISCV_CPU_BASE definition to 'cpu.h' 2023-11-07 12:13:27 +01:00
rx target: Declare FOO_CPU_TYPE_NAME/SUFFIX in 'cpu-qom.h' 2023-11-07 12:13:27 +01:00
s390x target: Declare FOO_CPU_TYPE_NAME/SUFFIX in 'cpu-qom.h' 2023-11-07 12:13:27 +01:00
sh4 target: Declare FOO_CPU_TYPE_NAME/SUFFIX in 'cpu-qom.h' 2023-11-07 12:13:27 +01:00
sparc target: Declare FOO_CPU_TYPE_NAME/SUFFIX in 'cpu-qom.h' 2023-11-07 12:13:27 +01:00
tricore target: Declare FOO_CPU_TYPE_NAME/SUFFIX in 'cpu-qom.h' 2023-11-07 12:13:27 +01:00
xtensa target: Declare FOO_CPU_TYPE_NAME/SUFFIX in 'cpu-qom.h' 2023-11-07 12:13:27 +01:00
Kconfig hw/loongarch: Add support loongson3 virt machine type. 2022-06-06 18:09:03 +00:00
meson.build target/loongarch: Add target build suport 2022-06-06 18:09:03 +00:00