qemu/target/mips
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
..
addr.c target/mips/addr: Add translation helpers for KSEG1 2021-01-14 17:13:53 +01:00
cp0_helper.c target/mips/mips-defs: Rename ISA_MIPS32R6 as ISA_MIPS_R6 2021-01-14 17:13:53 +01:00
cp0_timer.c target/mips/mips-defs: Rename ISA_MIPS32R2 as ISA_MIPS_R2 2021-01-14 17:13:53 +01:00
cpu-defs.c.inc target/mips: Remove vendor specific CPU definitions 2021-01-14 17:13:54 +01:00
cpu-param.h target/mips: Support variable page size 2020-06-01 13:28:21 +02: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 target/mips: Introduce ase_msa_available() helper 2021-01-14 17:13:53 +01:00
dsp_helper.c target/mips: Fix Lesser GPL version number 2020-11-03 16:51:13 +01:00
fpu_helper.c target/mips: Extract FPU helpers to 'fpu_helper.h' 2021-01-14 17:13:53 +01:00
fpu_helper.h target/mips: Extract FPU helpers to 'fpu_helper.h' 2021-01-14 17:13:53 +01:00
gdbstub.c target/mips: Extract FPU helpers to 'fpu_helper.h' 2021-01-14 17:13:53 +01:00
helper.h target/mips: Extract MSA helper definitions 2021-01-14 17:13:53 +01:00
internal.h target/mips: Move msa_reset() to msa_helper.c 2021-01-14 17:13:53 +01:00
kvm_mips.h hw/mips: Implement the kvm_type() hook in MachineClass 2020-06-27 19:35:39 +02:00
kvm.c target/mips: Introduce ase_msa_available() helper 2021-01-14 17:13:53 +01:00
lmmi_helper.c target/mips: Fix Lesser GPL version number 2020-11-03 16:51:13 +01:00
machine.c target/mips: Extract FPU helpers to 'fpu_helper.h' 2021-01-14 17:13:53 +01:00
meson.build target/mips: Introduce decodetree helpers for Release6 LSA/DLSA opcodes 2021-01-14 17:13:53 +01:00
mips32r6.decode target/mips: Convert Rel6 LL/SC opcodes to decodetree 2021-01-14 17:13:53 +01:00
mips64r6.decode target/mips: Convert Rel6 LLD/SCD opcodes to decodetree 2021-01-14 17:13:53 +01:00
mips-defs.h target/mips: Remove vendor specific CPU definitions 2021-01-14 17:13:54 +01:00
mips-semi.c target/mips: Fix Lesser GPL version number 2020-11-03 16:51:13 +01:00
msa32.decode target/mips: Introduce decodetree helpers for MSA LSA/DLSA opcodes 2021-01-14 17:13:53 +01:00
msa64.decode target/mips: Introduce decodetree helpers for MSA LSA/DLSA opcodes 2021-01-14 17:13:53 +01:00
msa_helper.c target/mips: Extract MSA helpers from op_helper.c 2021-01-14 17:13:53 +01:00
msa_helper.h.inc target/mips: Extract MSA helper definitions 2021-01-14 17:13:53 +01:00
msa_translate.c target/mips: Introduce decodetree helpers for MSA LSA/DLSA opcodes 2021-01-14 17:13:53 +01:00
op_helper.c target/mips: Extract MSA helpers from op_helper.c 2021-01-14 17:13:53 +01:00
rel6_translate.c target/mips: Convert Rel6 Special2 opcode to decodetree 2021-01-14 17:13:53 +01:00
tlb_helper.c target/mips: Move mmu_init() functions to tlb_helper.c 2021-01-14 17:13:53 +01:00
TODO Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
trace-events trace-events: Shorten file names in comments 2019-03-22 16:18:07 +00:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
translate_addr_const.c target/mips: Extract LSA/DLSA translation generators 2021-01-14 17:13:53 +01:00
translate.c target/mips: Convert Rel6 LL/SC opcodes to decodetree 2021-01-14 17:13:53 +01:00
translate.h target/mips: Introduce decodetree helpers for Release6 LSA/DLSA opcodes 2021-01-14 17:13:53 +01:00