target/ppc: booke: Data Storage exception cleanup
There is no DSISR or DAR in BookE. Change to ESR and DEAR. Signed-off-by: Fabiano Rosas <farosas@linux.ibm.com> Message-Id: <20220128224018.1228062-6-farosas@linux.ibm.com> Signed-off-by: Cédric Le Goater <clg@kaod.org>
This commit is contained in:
parent
db403211f8
commit
afdbc86941
@ -832,7 +832,7 @@ static void powerpc_excp_booke(PowerPCCPU *cpu, int excp)
|
|||||||
|
|
||||||
break;
|
break;
|
||||||
case POWERPC_EXCP_DSI: /* Data storage exception */
|
case POWERPC_EXCP_DSI: /* Data storage exception */
|
||||||
trace_ppc_excp_dsi(env->spr[SPR_DSISR], env->spr[SPR_DAR]);
|
trace_ppc_excp_dsi(env->spr[SPR_BOOKE_ESR], env->spr[SPR_BOOKE_DEAR]);
|
||||||
break;
|
break;
|
||||||
case POWERPC_EXCP_ISI: /* Instruction storage exception */
|
case POWERPC_EXCP_ISI: /* Instruction storage exception */
|
||||||
trace_ppc_excp_isi(msr, env->nip);
|
trace_ppc_excp_isi(msr, env->nip);
|
||||||
|
Loading…
Reference in New Issue
Block a user