]>
Commit | Line | Data |
---|---|---|
296af7c9 BS |
1 | #ifndef QEMU_CPUS_H |
2 | #define QEMU_CPUS_H | |
3 | ||
7277e027 | 4 | /* cpus.c */ |
88401cbc | 5 | bool qemu_in_vcpu_thread(void); |
d3b12f5d | 6 | void qemu_init_cpu_loop(void); |
296af7c9 BS |
7 | void resume_all_vcpus(void); |
8 | void pause_all_vcpus(void); | |
b4a3d965 | 9 | void cpu_stop_current(void); |
296af7c9 | 10 | |
17a4663e BS |
11 | void cpu_synchronize_all_states(void); |
12 | void cpu_synchronize_all_post_reset(void); | |
13 | void cpu_synchronize_all_post_init(void); | |
14 | ||
8156be56 PB |
15 | void qtest_clock_warp(int64_t dest); |
16 | ||
54fb7bf6 | 17 | #ifndef CONFIG_USER_ONLY |
296af7c9 BS |
18 | /* vl.c */ |
19 | extern int smp_cores; | |
20 | extern int smp_threads; | |
54fb7bf6 EH |
21 | #else |
22 | /* *-user doesn't have configurable SMP topology */ | |
23 | #define smp_cores 1 | |
24 | #define smp_threads 1 | |
25 | #endif | |
26 | ||
9a78eead | 27 | void list_cpus(FILE *f, fprintf_function cpu_fprintf, const char *optarg); |
296af7c9 BS |
28 | |
29 | #endif |