]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg: Have tcg_req_mo() use TCGCPUOps::guest_default_memory_order
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 21 Mar 2025 11:18:26 +0000 (12:18 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 23 Apr 2025 22:07:32 +0000 (15:07 -0700)
commit0eca13c29a0823850cf3308528b0de0ed4608c02
tree16341808f6b6cc1496951565314958ed3af84c6c
parenteacd8c7cef297bafa53deaf8d9b9d368acff3936
tcg: Have tcg_req_mo() use TCGCPUOps::guest_default_memory_order

In order to use TCG with multiple targets, replace the
compile time use of TCG_GUEST_DEFAULT_MO by a runtime access
to TCGCPUOps::guest_default_memory_order via CPUState.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/internal-target.h