fw_cfg: add fw_cfg_machine_reset function
[qemu-kvm.git] / include / sysemu / cpus.h
blob3f162a9e083cbc23af31695254119334fab7d663
1 #ifndef QEMU_CPUS_H
2 #define QEMU_CPUS_H
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);
10 void cpu_synchronize_all_states(void);
11 void cpu_synchronize_all_post_reset(void);
12 void cpu_synchronize_all_post_init(void);
13 void cpu_clean_all_dirty(void);
15 void qtest_clock_warp(int64_t dest);
17 #ifndef CONFIG_USER_ONLY
18 /* vl.c */
19 extern int smp_cores;
20 extern int smp_threads;
21 #else
22 /* *-user doesn't have configurable SMP topology */
23 #define smp_cores 1
24 #define smp_threads 1
25 #endif
27 void list_cpus(FILE *f, fprintf_function cpu_fprintf, const char *optarg);
29 #endif