mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -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
|
@ -1001,6 +1001,8 @@ static const struct SysemuCPUOps sparc_sysemu_ops = {
|
|||
#include "accel/tcg/cpu-ops.h"
|
||||
|
||||
static const TCGCPUOps sparc_tcg_ops = {
|
||||
.guest_default_memory_order = TCG_GUEST_DEFAULT_MO,
|
||||
|
||||
.initialize = sparc_tcg_init,
|
||||
.translate_code = sparc_translate_code,
|
||||
.synchronize_from_tb = sparc_cpu_synchronize_from_tb,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue