aboutsummaryrefslogtreecommitdiffstats
path: root/cpus.h
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-03-29 19:23:50 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-03-29 19:23:50 +0000
commit296af7c9524cffbedda258b95272ade25b0a726e (patch)
tree8c167b76aed3a7e9e04c28cb604393e914a94dd8 /cpus.h
parentde06f8d19310618dbef3d729ec4ded92fa05866b (diff)
Refactor CPUState handling out of vl.c
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'cpus.h')
-rw-r--r--cpus.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/cpus.h b/cpus.h
new file mode 100644
index 000000000..67c9a3b45
--- /dev/null
+++ b/cpus.h
@@ -0,0 +1,18 @@
+#ifndef QEMU_CPUS_H
+#define QEMU_CPUS_H
+
+/* cpu-common.c */
+int qemu_init_main_loop(void);
+void resume_all_vcpus(void);
+void pause_all_vcpus(void);
+
+/* vl.c */
+extern int smp_cores;
+extern int smp_threads;
+extern int debug_requested;
+void vm_state_notify(int running, int reason);
+bool tcg_cpu_exec(void);
+void set_numa_modes(void);
+void set_cpu_log(const char *optarg);
+
+#endif