]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg: Move qemu_tcg_mttcg_enabled() to 'system/tcg.h'
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 3 Apr 2025 22:04:16 +0000 (00:04 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 23 Apr 2025 22:07:32 +0000 (15:07 -0700)
commit60b2c2e66b81c323c0bc70ea4233cdbf8cdae5b2
treec58c2156866e2b6dea3fad751fd14429b5073a05
parenta9d107fa0eacf6c999c042b276e54a7058ae0bf9
tcg: Move qemu_tcg_mttcg_enabled() to 'system/tcg.h'

qemu_tcg_mttcg_enabled() is specific to 1/ TCG and
2/ system emulation. Move the prototype declaration
to "system/tcg.h", reducing 'mttcg_enabled' variable
scope.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20250403220420.78937-17-philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/tcg-all.c
include/hw/core/cpu.h
include/system/tcg.h
target/riscv/tcg/tcg-cpu.c