1b5120d74b
Introduce cpu_exec_reset_hold() which call an accelerator specific AccelOpsClass::cpu_reset_hold() handler. Define a stub on TCG user emulation, because CPU reset is irrelevant there. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Anton Johansson <anjo@rev.ng> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230918104153.24433-3-philmd@linaro.org>
42 lines
515 B
C
42 lines
515 B
C
#include "qemu/osdep.h"
|
|
#include "hw/core/cpu.h"
|
|
#include "exec/replay-core.h"
|
|
|
|
void cpu_resume(CPUState *cpu)
|
|
{
|
|
}
|
|
|
|
void cpu_remove_sync(CPUState *cpu)
|
|
{
|
|
}
|
|
|
|
void qemu_init_vcpu(CPUState *cpu)
|
|
{
|
|
}
|
|
|
|
void cpu_exec_reset_hold(CPUState *cpu)
|
|
{
|
|
}
|
|
|
|
/* User mode emulation does not support record/replay yet. */
|
|
|
|
bool replay_exception(void)
|
|
{
|
|
return true;
|
|
}
|
|
|
|
bool replay_has_exception(void)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
bool replay_interrupt(void)
|
|
{
|
|
return true;
|
|
}
|
|
|
|
bool replay_has_interrupt(void)
|
|
{
|
|
return false;
|
|
}
|