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

Move CPU TLB related methods to accel/tcg/ scope, in "internal-common.h". Suggested-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20250123234415.59850-9-philmd@linaro.org>
52 lines
673 B
C
52 lines
673 B
C
#include "qemu/osdep.h"
|
|
#include "hw/core/cpu.h"
|
|
#include "exec/replay-core.h"
|
|
#include "internal-common.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 softmmu yet. */
|
|
|
|
void tlb_init(CPUState *cpu)
|
|
{
|
|
}
|
|
|
|
void tlb_destroy(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;
|
|
}
|