diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-04-28 18:00:30 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-04-28 18:00:30 +0000 |
commit | fc1c67bc2a43a53f7315b602e0c67f9604835fe1 (patch) | |
tree | 7cf6cdba51aced0a6e623a984e6bb8ea7fe67330 /target-ppc/machine.c | |
parent | efcfd0c5d953722d89ae343d4bf2a9fd326775fa (diff) | |
download | qemu-fc1c67bc2a43a53f7315b602e0c67f9604835fe1.zip qemu-fc1c67bc2a43a53f7315b602e0c67f9604835fe1.tar.gz qemu-fc1c67bc2a43a53f7315b602e0c67f9604835fe1.tar.bz2 |
Fix PPC reset
Diffstat (limited to 'target-ppc/machine.c')
-rw-r--r-- | target-ppc/machine.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target-ppc/machine.c b/target-ppc/machine.c index 02eecb8..8b82005 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); |