aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-ppc/helper.c')
-rw-r--r--target-ppc/helper.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/target-ppc/helper.c b/target-ppc/helper.c
index 1039111a0b..99562d6684 100644
--- a/target-ppc/helper.c
+++ b/target-ppc/helper.c
@@ -2792,11 +2792,7 @@ void cpu_ppc_reset (void *opaque)
msr_fp = 1; /* Allow floating point exceptions */
msr_pr = 1;
#else
-#if defined(TARGET_PPC64)
- env->nip = 0x00000100;
-#else
- env->nip = 0xFFFFFFFC;
-#endif
+ env->nip = env->hreset_vector | env->excp_prefix;
ppc_tlb_invalidate_all(env);
#endif
do_compute_hflags(env);