diff options
author | Blue Swirl | 2009-04-28 20:00:30 +0200 |
---|---|---|
committer | Blue Swirl | 2009-04-28 20:00:30 +0200 |
commit | fc1c67bc2a43a53f7315b602e0c67f9604835fe1 (patch) | |
tree | 7cf6cdba51aced0a6e623a984e6bb8ea7fe67330 /target-ppc/machine.c | |
parent | Silence missing pkg-config error messages (diff) | |
download | qemu-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.c | 2 |
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); |