xref: /openbmc/qemu/include/sysemu/cpus.h (revision bfb27e60)
1 #ifndef QEMU_CPUS_H
2 #define QEMU_CPUS_H
3 
4 /* cpus.c */
5 void qemu_init_cpu_loop(void);
6 void resume_all_vcpus(void);
7 void pause_all_vcpus(void);
8 void cpu_stop_current(void);
9 
10 void cpu_synchronize_all_states(void);
11 void cpu_synchronize_all_post_reset(void);
12 void cpu_synchronize_all_post_init(void);
13 
14 void qtest_clock_warp(int64_t dest);
15 
16 #ifndef CONFIG_USER_ONLY
17 /* vl.c */
18 extern int smp_cores;
19 extern int smp_threads;
20 #else
21 /* *-user doesn't have configurable SMP topology */
22 #define smp_cores   1
23 #define smp_threads 1
24 #endif
25 
26 void list_cpus(FILE *f, fprintf_function cpu_fprintf, const char *optarg);
27 
28 #endif
29