projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3187040
)
Move cpu_exec_init_all() declaration to qemu-common.h
author
Blue Swirl
<blauwirbel@gmail.com>
Mon, 29 Mar 2010 19:23:48 +0000
(19:23 +0000)
committer
Blue Swirl
<blauwirbel@gmail.com>
Mon, 29 Mar 2010 19:23:48 +0000
(19:23 +0000)
Let cpu_exec_init_all() be called from non-CPU code.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
cpu-all.h
patch
|
blob
|
history
qemu-common.h
patch
|
blob
|
history
diff --git
a/cpu-all.h
b/cpu-all.h
index f281a914edeee058c9eb7ea711fdc69c4bc91661..9942d49ff7aa84070585ba291ca111ffb3a292ce 100644
(file)
--- 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 087c03472a3012996fab6bdcb60c5af05d04bcdb..d881a3999bd51140cb3023145deb45bc624960ac 100644
(file)
--- 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);