aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-03-29 19:23:48 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-03-29 19:23:48 +0000
commitd2053c3cca0b5c78317a183e19d2933ed23c6fc2 (patch)
treecdf962c03649018051d3a688bf7ec4ea5665222a
parent1c14f162dd92c0448948791531dc82ac277330ae (diff)
Move cpu_exec_init_all() declaration to qemu-common.h
Let cpu_exec_init_all() be called from non-CPU code. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r--cpu-all.h1
-rw-r--r--qemu-common.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/cpu-all.h b/cpu-all.h
index f281a914ed..9942d49ff7 100644
--- a/cpu-all.h
+++ b/cpu-all.h
@@ -756,7 +756,6 @@ void page_set_flags(target_ulong start, target_ulong end, int flags);
int page_check_range(target_ulong start, target_ulong len, int flags);
#endif
-void cpu_exec_init_all(unsigned long tb_size);
CPUState *cpu_copy(CPUState *env);
CPUState *qemu_get_cpu(int cpu);
diff --git a/qemu-common.h b/qemu-common.h
index 087c03472a..d881a3999b 100644
--- a/qemu-common.h
+++ b/qemu-common.h
@@ -231,6 +231,8 @@ typedef struct SSIBus SSIBus;
typedef uint64_t pcibus_t;
+void cpu_exec_init_all(unsigned long tb_size);
+
/* CPU save/load. */
void cpu_save(QEMUFile *f, void *opaque);
int cpu_load(QEMUFile *f, void *opaque, int version_id);