mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
tcg: Define guest_default_memory_order in TCGCPUOps
Add the TCGCPUOps::guest_default_memory_order field and have each target initialize it. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Anton Johansson <anjo@rev.ng> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
adb86e48ad
commit
04583ce7e0
21 changed files with 43 additions and 0 deletions
|
@ -551,6 +551,8 @@ static int mips_cpu_mmu_index(CPUState *cs, bool ifunc)
|
|||
}
|
||||
|
||||
static const TCGCPUOps mips_tcg_ops = {
|
||||
.guest_default_memory_order = TCG_GUEST_DEFAULT_MO,
|
||||
|
||||
.initialize = mips_tcg_init,
|
||||
.translate_code = mips_translate_code,
|
||||
.synchronize_from_tb = mips_cpu_synchronize_from_tb,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue