Blue Swirl | 296af7c | 2010-03-29 19:23:50 +0000 | [diff] [blame] | 1 | #ifndef QEMU_CPUS_H |
| 2 | #define QEMU_CPUS_H |
| 3 | |
Blue Swirl | 7277e02 | 2010-04-12 17:19:06 +0000 | [diff] [blame] | 4 | /* cpus.c */ |
Paolo Bonzini | d3b12f5 | 2011-09-13 10:30:52 +0200 | [diff] [blame] | 5 | void qemu_init_cpu_loop(void); |
Blue Swirl | 296af7c | 2010-03-29 19:23:50 +0000 | [diff] [blame] | 6 | void resume_all_vcpus(void); |
| 7 | void pause_all_vcpus(void); |
Jan Kiszka | b4a3d96 | 2011-02-01 22:15:43 +0100 | [diff] [blame] | 8 | void cpu_stop_current(void); |
Blue Swirl | 296af7c | 2010-03-29 19:23:50 +0000 | [diff] [blame] | 9 | |
Blue Swirl | 17a4663 | 2011-03-27 16:05:08 +0000 | [diff] [blame] | 10 | void cpu_synchronize_all_states(void); |
| 11 | void cpu_synchronize_all_post_reset(void); |
| 12 | void cpu_synchronize_all_post_init(void); |
| 13 | |
Paolo Bonzini | 8156be5 | 2012-03-28 15:42:04 +0200 | [diff] [blame] | 14 | void qtest_clock_warp(int64_t dest); |
| 15 | |
Blue Swirl | 296af7c | 2010-03-29 19:23:50 +0000 | [diff] [blame] | 16 | /* vl.c */ |
| 17 | extern int smp_cores; |
| 18 | extern int smp_threads; |
Blue Swirl | 296af7c | 2010-03-29 19:23:50 +0000 | [diff] [blame] | 19 | void set_numa_modes(void); |
| 20 | void set_cpu_log(const char *optarg); |
Matthew Fernandez | c235d73 | 2011-06-07 16:32:40 +0000 | [diff] [blame] | 21 | void set_cpu_log_filename(const char *optarg); |
Stefan Weil | 9a78eea | 2010-10-22 23:03:33 +0200 | [diff] [blame] | 22 | void list_cpus(FILE *f, fprintf_function cpu_fprintf, const char *optarg); |
Blue Swirl | 296af7c | 2010-03-29 19:23:50 +0000 | [diff] [blame] | 23 | |
| 24 | #endif |