qemu-e2k/target/cris
Claudio Fontana 7827168471 cpu: tcg_ops: move to tcg-cpu-ops.h, keep a pointer in CPUClass
we cannot in principle make the TCG Operations field definitions
conditional on CONFIG_TCG in code that is included by both common_ss
and specific_ss modules.

Therefore, what we can do safely to restrict the TCG fields to TCG-only
builds, is to move all tcg cpu operations into a separate header file,
which is only included by TCG, target-specific code.

This leaves just a NULL pointer in the cpu.h for the non-TCG builds.

This also tidies up the code in all targets a bit, having all TCG cpu
operations neatly contained by a dedicated data struct.

Signed-off-by: Claudio Fontana <cfontana@suse.de>
Message-Id: <20210204163931.7358-16-cfontana@suse.de>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2021-02-05 10:24:15 -10:00
..
cpu-param.h tcg: Split out target/arch/cpu-param.h 2019-06-10 07:03:34 -07:00
cpu-qom.h qom: Remove module_obj_name parameter from OBJECT_DECLARE* macros 2020-09-18 14:12:32 -04:00
cpu.c cpu: tcg_ops: move to tcg-cpu-ops.h, keep a pointer in CPUClass 2021-02-05 10:24:15 -10:00
cpu.h cris tcg cpus: Fix Lesser GPL version number 2020-11-15 16:39:05 +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 cris tcg cpus: Fix Lesser GPL version number 2020-11-15 16:39:05 +01:00
helper.c cpu: tcg_ops: move to tcg-cpu-ops.h, keep a pointer in CPUClass 2021-02-05 10:24:15 -10:00
helper.h target-cris: Use clz opcode 2017-01-10 08:06:11 -08:00
machine.c cris tcg cpus: Fix Lesser GPL version number 2020-11-15 16:39:05 +01:00
meson.build meson: target 2020-08-21 06:30:35 -04:00
mmu.c cris tcg cpus: Fix Lesser GPL version number 2020-11-15 16:39:05 +01:00
mmu.h Supply missing header guards 2019-06-12 13:20:21 +02:00
op_helper.c cris tcg cpus: Fix Lesser GPL version number 2020-11-15 16:39:05 +01:00
opcode-cris.h Clean up a few header guard symbols 2019-06-12 13:20:20 +02:00
translate.c cris tcg cpus: Fix Lesser GPL version number 2020-11-15 16:39:05 +01:00
translate_v10.c.inc cris tcg cpus: Fix Lesser GPL version number 2020-11-15 16:39:05 +01:00