mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-09 22:25:27 +00:00
Prevents abort with m68K
* Prevents abort with m68K Raises exception instead * M68K remove one uses of abort * Less aborts and logs instead for M68K Backports commit 910999d3969b682d8376db1266f9885866cd785c from unicorn
This commit is contained in:
parent
43c48b72ea
commit
e3b8ea18bf
|
@ -47,9 +47,9 @@ void HELPER(cf_movec_to)(CPUM68KState *env, uint32_t reg, uint32_t val)
|
||||||
break;
|
break;
|
||||||
/* TODO: Implement control registers. */
|
/* TODO: Implement control registers. */
|
||||||
default:
|
default:
|
||||||
cpu_abort(CPU(cpu),
|
qemu_log("Unimplemented control register write 0x%x = 0x%x\n",
|
||||||
"Unimplemented control register write 0x%x = 0x%x\n",
|
|
||||||
reg, val);
|
reg, val);
|
||||||
|
raise_exception(env, EXCP_UNSUPPORTED);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4976,7 +4976,8 @@ DISAS_INSN(wdebug)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
/* TODO: Implement wdebug. */
|
/* TODO: Implement wdebug. */
|
||||||
cpu_abort(CPU(cpu), "WDEBUG not implemented");
|
qemu_log("WDEBUG not implemented\n");
|
||||||
|
gen_exception(s, s->pc - 2, EXCP_UNSUPPORTED);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue