Skip to contentSkip to conversation

Move cpu_exec_init_all() declaration to qemu-common.h

PATCH In review Blue Swirl 1 participant 1 message Mar 27, 2010

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

PATCH 3/7 Move cpu_exec_init_all() declaration to qemu-common.h

Let cpu_exec_init_all() be called from non-CPU code.

---
 cpu-all.h     |    1 -
 qemu-common.h |    2 ++
 2 files changed, 2 insertions(+), 1 deletions(-)
cpu-all.h +0 -0
index f281a91..9942d49 100644
@@ -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);

qemu-common.h +2 -0
index 087c034..d881a39 100644
@@ -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);
Signature · 1 line
1.6.2.4