aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/helper.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/helper.c
parentefcfd0c5d953722d89ae343d4bf2a9fd326775fa (diff)
Fix PPC reset
Diffstat (limited to 'target-ppc/helper.c')
-rw-r--r--target-ppc/helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-ppc/helper.c b/target-ppc/helper.c
index f1663ce3d9..db765e308b 100644
--- a/target-ppc/helper.c
+++ b/target-ppc/helper.c
@@ -2796,6 +2796,7 @@ void cpu_ppc_reset (void *opaque)
msr |= (target_ulong)1 << MSR_SPE; /* Allow SPE usage */
msr |= (target_ulong)1 << MSR_PR;
#else
+ env->excp_prefix = env->hreset_excp_prefix;
env->nip = env->hreset_vector | env->excp_prefix;
if (env->mmu_model != POWERPC_MMU_REAL)
ppc_tlb_invalidate_all(env);