]> git.proxmox.com Git - mirror_qemu.git/blame - include/sysemu/cpus.h
Merge remote-tracking branch 'remotes/bonzini-gitlab/tags/for-upstream' into staging
[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 */
88401cbc 7bool qemu_in_vcpu_thread(void);
d3b12f5d 8void qemu_init_cpu_loop(void);
296af7c9
BS
9void resume_all_vcpus(void);
10void pause_all_vcpus(void);
b4a3d965 11void cpu_stop_current(void);
4b4629d9
PB
12void cpu_ticks_init(void);
13
14void configure_icount(QemuOpts *opts, Error **errp);
15extern int use_icount;
16extern int icount_align_option;
17
18/* drift information for info jit command */
19extern int64_t max_delay;
20extern int64_t max_advance;
76c86615 21void dump_drift_info(void);
4b4629d9
PB
22
23/* Unblock cpu */
24void qemu_cpu_kick_self(void);
3f53bc61 25void qemu_timer_notify_cb(void *opaque, QEMUClockType type);
296af7c9 26
17a4663e
BS
27void cpu_synchronize_all_states(void);
28void cpu_synchronize_all_post_reset(void);
29void cpu_synchronize_all_post_init(void);
75e972da 30void cpu_synchronize_all_pre_loadvm(void);
17a4663e 31
8156be56
PB
32void qtest_clock_warp(int64_t dest);
33
54fb7bf6 34#ifndef CONFIG_USER_ONLY
296af7c9 35/* vl.c */
eab60fb9 36/* *-user doesn't have configurable SMP topology */
296af7c9
BS
37extern int smp_cores;
38extern int smp_threads;
54fb7bf6
EH
39#endif
40
0442428a 41void list_cpus(const char *optarg);
296af7c9
BS
42
43#endif