mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
exec: Change cpu_abort() argument to CPUState
Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
bb0e627a84
commit
a47dddd734
41 changed files with 301 additions and 206 deletions
|
@ -89,7 +89,7 @@ int cris_cpu_handle_mmu_fault(CPUState *cs, vaddr address, int rw,
|
|||
rw, mmu_idx, 0);
|
||||
if (miss) {
|
||||
if (cs->exception_index == EXCP_BUSFAULT) {
|
||||
cpu_abort(env,
|
||||
cpu_abort(cs,
|
||||
"CRIS: Illegal recursive bus fault."
|
||||
"addr=%" VADDR_PRIx " rw=%d\n",
|
||||
address, rw);
|
||||
|
@ -130,7 +130,7 @@ void crisv10_cpu_do_interrupt(CPUState *cs)
|
|||
|
||||
if (env->dslot) {
|
||||
/* CRISv10 never takes interrupts while in a delay-slot. */
|
||||
cpu_abort(env, "CRIS: Interrupt on delay-slot\n");
|
||||
cpu_abort(cs, "CRIS: Interrupt on delay-slot\n");
|
||||
}
|
||||
|
||||
assert(!(env->pregs[PR_CCS] & PFIX_FLAG));
|
||||
|
@ -150,7 +150,7 @@ void crisv10_cpu_do_interrupt(CPUState *cs)
|
|||
break;
|
||||
|
||||
case EXCP_BUSFAULT:
|
||||
cpu_abort(env, "Unhandled busfault");
|
||||
cpu_abort(cs, "Unhandled busfault");
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue