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