]> git.proxmox.com Git - mirror_qemu.git/blob - include/sysemu/cpus.h
qemu-timer: do not include sysemu/cpus.h from util/qemu-timer.h
[mirror_qemu.git] / include / sysemu / cpus.h
1 #ifndef QEMU_CPUS_H
2 #define QEMU_CPUS_H
3
4 #include "qemu/timer.h"
5
6 /* cpus.c */
7 bool qemu_in_vcpu_thread(void);
8 void qemu_init_cpu_loop(void);
9 void resume_all_vcpus(void);
10 void pause_all_vcpus(void);
11 void cpu_stop_current(void);
12 void cpu_ticks_init(void);
13
14 void configure_icount(QemuOpts *opts, Error **errp);
15 extern int use_icount;
16 extern int icount_align_option;
17
18 /* drift information for info jit command */
19 extern int64_t max_delay;
20 extern int64_t max_advance;
21 void dump_drift_info(FILE *f, fprintf_function cpu_fprintf);
22
23 /* Unblock cpu */
24 void qemu_cpu_kick_self(void);
25
26 void cpu_synchronize_all_states(void);
27 void cpu_synchronize_all_post_reset(void);
28 void cpu_synchronize_all_post_init(void);
29
30 void qtest_clock_warp(int64_t dest);
31
32 #ifndef CONFIG_USER_ONLY
33 /* vl.c */
34 /* *-user doesn't have configurable SMP topology */
35 extern int smp_cores;
36 extern int smp_threads;
37 #endif
38
39 void list_cpus(FILE *f, fprintf_function cpu_fprintf, const char *optarg);
40
41 void qemu_tcg_configure(QemuOpts *opts, Error **errp);
42
43 #endif