projects
/
qemu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add PowerPC power-management state check callback.
[qemu]
/
hw
/
sun4m.c
diff --git
a/hw/sun4m.c
b/hw/sun4m.c
index
1d9f766
..
a12aec9
100644
(file)
--- a/
hw/sun4m.c
+++ b/
hw/sun4m.c
@@
-327,7
+327,7
@@
static void *sun4m_hw_init(const struct hwdef *hwdef, int RAM_size,
for(i = 0; i < smp_cpus; i++) {
env = cpu_init();
- cpu_sparc_register(env, def);
+ cpu_sparc_register(env, def, i);
envs[i] = env;
if (i == 0) {
qemu_register_reset(main_cpu_reset, env);