xref: /openbmc/qemu/accel/tcg/user-exec-stub.c (revision fe1127da)
1 #include "qemu/osdep.h"
2 #include "hw/core/cpu.h"
3 #include "sysemu/replay.h"
4 #include "sysemu/sysemu.h"
5 
6 bool enable_cpu_pm = false;
7 
8 void cpu_resume(CPUState *cpu)
9 {
10 }
11 
12 void cpu_remove_sync(CPUState *cpu)
13 {
14 }
15 
16 void qemu_init_vcpu(CPUState *cpu)
17 {
18 }
19 
20 /* User mode emulation does not support record/replay yet.  */
21 
22 bool replay_exception(void)
23 {
24     return true;
25 }
26 
27 bool replay_has_exception(void)
28 {
29     return false;
30 }
31 
32 bool replay_interrupt(void)
33 {
34     return true;
35 }
36 
37 bool replay_has_interrupt(void)
38 {
39     return false;
40 }
41