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