qemu/target/cris
Philippe Mathieu-Daudé 2d56be5a29 target: Declare FOO_CPU_TYPE_NAME/SUFFIX in 'cpu-qom.h'
Hegerogeneous code needs access to the FOO_CPU_TYPE_NAME()
macro to resolve target CPU types. Move the declaration
(along with the required FOO_CPU_TYPE_SUFFIX) to "cpu-qom.h".

"target/foo/cpu-qom.h" is supposed to be target agnostic
(include-able by any target). Add such mention in the
header.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231013140116.255-7-philmd@linaro.org>
2023-11-07 12:13:27 +01:00
..
cpu-param.h target/cris: Remove NB_MMU_MODES define 2023-03-13 06:44:37 -07:00
cpu-qom.h target: Declare FOO_CPU_TYPE_NAME/SUFFIX in 'cpu-qom.h' 2023-11-07 12:13:27 +01:00
cpu.c accel/tcg: Remove cpu_set_cpustate_pointers 2023-10-04 11:03:54 -07:00
cpu.h target: Declare FOO_CPU_TYPE_NAME/SUFFIX in 'cpu-qom.h' 2023-11-07 12:13:27 +01:00
crisv10-decode.h cris tcg cpus: Fix Lesser GPL version number 2020-11-15 16:39:05 +01:00
crisv32-decode.h cris tcg cpus: Fix Lesser GPL version number 2020-11-15 16:39:05 +01:00
gdbstub.c gdbstub: move register helpers into standalone include 2023-03-07 20:44:08 +00:00
helper.c other architectures: spelling fixes 2023-07-25 17:14:07 +03:00
helper.h target/cris: Mark helper_raise_exception noreturn 2021-06-29 10:04:56 -07:00
Kconfig meson: Introduce target-specific Kconfig 2021-07-09 18:21:34 +02:00
machine.c cris tcg cpus: Fix Lesser GPL version number 2020-11-15 16:39:05 +01:00
meson.build meson: Rename target_softmmu_arch -> target_system_arch 2023-10-07 19:03:07 +02:00
mmu.c target/cris: Let cris_mmu_translate() use MMUAccessType access_type 2021-02-22 09:04:58 +01:00
mmu.h target/cris: Let cris_mmu_translate() use MMUAccessType access_type 2021-02-22 09:04:58 +01:00
op_helper.c target/helpers: Remove unnecessary 'exec/cpu_ldst.h' header 2023-08-31 19:47:43 +02:00
opcode-cris.h Clean up a few header guard symbols 2019-06-12 13:20:20 +02:00
translate_v10.c.inc tcg: Rename cpu_env to tcg_env 2023-10-03 08:01:02 -07:00
translate.c accel/tcg: Replace CPUState.env_ptr with cpu_env() 2023-10-04 11:03:54 -07:00