diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-04-04 00:04:16 +0200 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2025-04-23 15:07:32 -0700 |
| commit | 60b2c2e66b81c323c0bc70ea4233cdbf8cdae5b2 (patch) | |
| tree | c58c2156866e2b6dea3fad751fd14429b5073a05 /include/hw/core/cpu.h | |
| parent | a9d107fa0eacf6c999c042b276e54a7058ae0bf9 (diff) | |
| download | focaccia-qemu-60b2c2e66b81c323c0bc70ea4233cdbf8cdae5b2.tar.gz focaccia-qemu-60b2c2e66b81c323c0bc70ea4233cdbf8cdae5b2.zip | |
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>
Diffstat (limited to 'include/hw/core/cpu.h')
| -rw-r--r-- | include/hw/core/cpu.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/hw/core/cpu.h b/include/hw/core/cpu.h index 10b6b25b34..c8d6abff19 100644 --- a/include/hw/core/cpu.h +++ b/include/hw/core/cpu.h @@ -595,15 +595,6 @@ extern CPUTailQ cpus_queue; extern __thread CPUState *current_cpu; /** - * qemu_tcg_mttcg_enabled: - * Check whether we are running MultiThread TCG or not. - * - * Returns: %true if we are in MTTCG mode %false otherwise. - */ -extern bool mttcg_enabled; -#define qemu_tcg_mttcg_enabled() (mttcg_enabled) - -/** * cpu_paging_enabled: * @cpu: The CPU whose state is to be inspected. * |