blob: 81bd81773f8eecc1bb423fce08772172d282878e [file] [log] [blame]
Blue Swirl296af7c2010-03-29 19:23:50 +00001#ifndef QEMU_CPUS_H
2#define QEMU_CPUS_H
3
Blue Swirl7277e022010-04-12 17:19:06 +00004/* cpus.c */
Paolo Bonzinid3b12f52011-09-13 10:30:52 +02005void qemu_init_cpu_loop(void);
Blue Swirl296af7c2010-03-29 19:23:50 +00006void resume_all_vcpus(void);
7void pause_all_vcpus(void);
Jan Kiszkab4a3d962011-02-01 22:15:43 +01008void cpu_stop_current(void);
Blue Swirl296af7c2010-03-29 19:23:50 +00009
Blue Swirl17a46632011-03-27 16:05:08 +000010void cpu_synchronize_all_states(void);
11void cpu_synchronize_all_post_reset(void);
12void cpu_synchronize_all_post_init(void);
13
Paolo Bonzini8156be52012-03-28 15:42:04 +020014void qtest_clock_warp(int64_t dest);
15
Blue Swirl296af7c2010-03-29 19:23:50 +000016/* vl.c */
17extern int smp_cores;
18extern int smp_threads;
Blue Swirl296af7c2010-03-29 19:23:50 +000019void set_numa_modes(void);
20void set_cpu_log(const char *optarg);
Matthew Fernandezc235d732011-06-07 16:32:40 +000021void set_cpu_log_filename(const char *optarg);
Stefan Weil9a78eea2010-10-22 23:03:33 +020022void list_cpus(FILE *f, fprintf_function cpu_fprintf, const char *optarg);
Blue Swirl296af7c2010-03-29 19:23:50 +000023
24#endif