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