mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
tcg: Convert TARGET_SUPPORTS_MTTCG to TCGCPUOps::mttcg_supported field
Instead of having a compile-time TARGET_SUPPORTS_MTTCG definition, have each target set the 'mttcg_supported' field in the TCGCPUOps structure. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Anton Johansson <anjo@rev.ng> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-ID: <20250405161320.76854-17-philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
a522b04bb9
commit
a3d40b5eff
44 changed files with 34 additions and 28 deletions
|
@ -551,6 +551,7 @@ static int mips_cpu_mmu_index(CPUState *cs, bool ifunc)
|
|||
}
|
||||
|
||||
static const TCGCPUOps mips_tcg_ops = {
|
||||
.mttcg_supported = TARGET_LONG_BITS == 32,
|
||||
.guest_default_memory_order = 0,
|
||||
|
||||
.initialize = mips_tcg_init,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue