summaryrefslogtreecommitdiffstats
path: root/target-ppc/machine.c
diff options
context:
space:
mode:
authorBlue Swirl2009-04-28 20:00:30 +0200
committerBlue Swirl2009-04-28 20:00:30 +0200
commitfc1c67bc2a43a53f7315b602e0c67f9604835fe1 (patch)
tree7cf6cdba51aced0a6e623a984e6bb8ea7fe67330 /target-ppc/machine.c
parentSilence missing pkg-config error messages (diff)
downloadqemu-fc1c67bc2a43a53f7315b602e0c67f9604835fe1.tar.gz
qemu-fc1c67bc2a43a53f7315b602e0c67f9604835fe1.tar.xz
qemu-fc1c67bc2a43a53f7315b602e0c67f9604835fe1.zip
Fix PPC reset
Diffstat (limited to 'target-ppc/machine.c')
-rw-r--r--target-ppc/machine.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-ppc/machine.c b/target-ppc/machine.c
index 02eecb8290..8b82005a10 100644
--- a/target-ppc/machine.c
+++ b/target-ppc/machine.c
@@ -87,6 +87,7 @@ void cpu_save(QEMUFile *f, void *opaque)
for (i = 0; i < POWERPC_EXCP_NB; i++)
qemu_put_betls(f, &env->excp_vectors[i]);
qemu_put_betls(f, &env->excp_prefix);
+ qemu_put_betls(f, &env->hreset_excp_prefix);
qemu_put_betls(f, &env->ivor_mask);
qemu_put_betls(f, &env->ivpr_mask);
qemu_put_betls(f, &env->hreset_vector);
@@ -173,6 +174,7 @@ int cpu_load(QEMUFile *f, void *opaque, int version_id)
for (i = 0; i < POWERPC_EXCP_NB; i++)
qemu_get_betls(f, &env->excp_vectors[i]);
qemu_get_betls(f, &env->excp_prefix);
+ qemu_get_betls(f, &env->hreset_excp_prefix);
qemu_get_betls(f, &env->ivor_mask);
qemu_get_betls(f, &env->ivpr_mask);
qemu_get_betls(f, &env->hreset_vector);