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:
1c14f16
)
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
f281a91
..
9942d49
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
087c034
..
d881a39
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);