]> git.proxmox.com Git - mirror_qemu.git/blame - include/sysemu/cpus.h
icount: rename functions to be consistent with the module name
[mirror_qemu.git] / include / sysemu / cpus.h
CommitLineData
296af7c9
BS
1#ifndef QEMU_CPUS_H
2#define QEMU_CPUS_H
3
d2528bdc
PB
4#include "qemu/timer.h"
5
7277e027 6/* cpus.c */
740b1759 7bool all_cpu_threads_idle(void);
88401cbc 8bool qemu_in_vcpu_thread(void);
d3b12f5d 9void qemu_init_cpu_loop(void);
296af7c9
BS
10void resume_all_vcpus(void);
11void pause_all_vcpus(void);
b4a3d965 12void cpu_stop_current(void);
4b4629d9 13
4b4629d9
PB
14extern int icount_align_option;
15
4b4629d9
PB
16/* Unblock cpu */
17void qemu_cpu_kick_self(void);
296af7c9 18
17a4663e
BS
19void cpu_synchronize_all_states(void);
20void cpu_synchronize_all_post_reset(void);
21void cpu_synchronize_all_post_init(void);
75e972da 22void cpu_synchronize_all_pre_loadvm(void);
17a4663e 23
54fb7bf6 24#ifndef CONFIG_USER_ONLY
296af7c9 25/* vl.c */
eab60fb9 26/* *-user doesn't have configurable SMP topology */
296af7c9
BS
27extern int smp_cores;
28extern int smp_threads;
54fb7bf6
EH
29#endif
30
0442428a 31void list_cpus(const char *optarg);
296af7c9
BS
32
33#endif