mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00

In commit3549118b49
we moved cpu_loop_exit*() declarations to "exec/cpu-common.h" but neglected to update tcg-stub.c. We missed it because "exec/cpu-common.h" is indirectly pulled in via "exec/exec-all.h" -> "exec/translation-block.h". Include it directly instead of the not necessary "exec/exec-all.h". Commitbb6cf6f016
("accel/tcg: Factor tcg_cpu_reset_hold() out") removed the need for "exec/tb-flush.h", so remote it too. Fixes:3549118b49
("exec: Move cpu_loop_foo() functions to 'cpu-common.h'") Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Mark Cave-Ayland <mark.caveayland@nutanix.com> Message-Id: <20250424094653.35932-4-philmd@linaro.org>
24 lines
492 B
C
24 lines
492 B
C
/*
|
|
* QEMU TCG accelerator stub
|
|
*
|
|
* Copyright Red Hat, Inc. 2013
|
|
*
|
|
* Author: Paolo Bonzini <pbonzini@redhat.com>
|
|
*
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
|
* See the COPYING file in the top-level directory.
|
|
*
|
|
*/
|
|
|
|
#include "qemu/osdep.h"
|
|
#include "exec/cpu-common.h"
|
|
|
|
G_NORETURN void cpu_loop_exit(CPUState *cpu)
|
|
{
|
|
g_assert_not_reached();
|
|
}
|
|
|
|
G_NORETURN void cpu_loop_exit_restore(CPUState *cpu, uintptr_t pc)
|
|
{
|
|
g_assert_not_reached();
|
|
}
|