]> Git Repo - qemu.git/blobdiff - target-ppc/excp_helper.c
ppc: Move load and store helpers, switch to AREG0 free mode
[qemu.git] / target-ppc / excp_helper.c
index 7fa7a59b4f77de5295213971ed83c9e79f43e28f..c7762b99c59324d2814412b748bf0c6288a243c2 100644 (file)
@@ -179,7 +179,8 @@ static inline void powerpc_excp(CPUPPCState *env, int excp_model, int excp)
         }
         /* XXX: this is false */
         /* Get rS/rD and rA from faulting opcode */
-        env->spr[SPR_DSISR] |= (ldl_code((env->nip - 4)) & 0x03FF0000) >> 16;
+        env->spr[SPR_DSISR] |= (cpu_ldl_code(env, (env->nip - 4))
+                                & 0x03FF0000) >> 16;
         goto store_current;
     case POWERPC_EXCP_PROGRAM:   /* Program exception                        */
         switch (env->error_code & ~0xF) {
This page took 0.024743 seconds and 4 git commands to generate.