Projet_SETI_RISC-V/riscv-gnu-toolchain/qemu/accel/tcg/user-exec-stub.c

40 lines
496 B
C
Raw Normal View History

2023-03-06 14:48:14 +01:00
#include "qemu/osdep.h"
#include "hw/core/cpu.h"
#include "sysemu/replay.h"
bool enable_cpu_pm = false;
void cpu_resume(CPUState *cpu)
{
}
void cpu_remove_sync(CPUState *cpu)
{
}
void qemu_init_vcpu(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;
}