aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/machine.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-04-28 18:00:30 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-04-28 18:00:30 +0000
commitfc1c67bc2a43a53f7315b602e0c67f9604835fe1 (patch)
tree7cf6cdba51aced0a6e623a984e6bb8ea7fe67330 /target-ppc/machine.c
parentefcfd0c5d953722d89ae343d4bf2a9fd326775fa (diff)
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);