master
c 85 lines 1.34 KB
Raw
1 #include "qemu/osdep.h"
2 #include "hw/core/cpu.h"
3 #include "accel/tcg/cpu-ops.h"
4 #include "exec/replay-core.h"
5 #include "exec/watchpoint.h"
6 #include "internal-common.h"
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 void cpu_exec_reset_hold(CPUState *cpu)
21 {
22 }
23
24 int cpu_watchpoint_insert(CPUState *cpu, vaddr addr, vaddr len,
25 int flags, CPUWatchpoint **watchpoint)
26 {
27 return -ENOSYS;
28 }
29
30 int cpu_watchpoint_remove(CPUState *cpu, vaddr addr,
31 vaddr len, int flags)
32 {
33 return -ENOSYS;
34 }
35
36 void cpu_watchpoint_remove_by_ref(CPUState *cpu, CPUWatchpoint *wp)
37 {
38 }
39
40 void cpu_watchpoint_remove_all(CPUState *cpu, int mask)
41 {
42 }
43
44 int cpu_watchpoint_address_matches(CPUState *cpu, vaddr addr, vaddr len)
45 {
46 return 0;
47 }
48
49 void cpu_check_watchpoint(CPUState *cpu, vaddr addr, vaddr len,
50 MemTxAttrs atr, int fl, uintptr_t ra)
51 {
52 }
53
54
55 /* User mode emulation does not support softmmu yet. */
56
57 void tlb_init(CPUState *cpu)
58 {
59 }
60
61 void tlb_destroy(CPUState *cpu)
62 {
63 }
64
65 /* User mode emulation does not support record/replay yet. */
66
67 bool replay_exception(void)
68 {
69 return true;
70 }
71
72 bool replay_has_exception(void)
73 {
74 return false;
75 }
76
77 bool replay_interrupt(void)
78 {
79 return true;
80 }
81
82 bool replay_has_interrupt(void)
83 {
84 return false;
85 }