mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03: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
|
@ -2671,6 +2671,8 @@ static const struct SysemuCPUOps arm_sysemu_ops = {
|
|||
|
||||
#ifdef CONFIG_TCG
|
||||
static const TCGCPUOps arm_tcg_ops = {
|
||||
.guest_default_memory_order = TCG_GUEST_DEFAULT_MO,
|
||||
|
||||
.initialize = arm_translate_init,
|
||||
.translate_code = arm_translate_code,
|
||||
.synchronize_from_tb = arm_cpu_synchronize_from_tb,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue