mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
cris: Add break support for v10.
Still no retb Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
This commit is contained in:
parent
7677e24f3d
commit
f756c7a723
3 changed files with 4 additions and 2 deletions
|
@ -121,14 +121,14 @@ static void do_interruptv10(CPUCRISState *env)
|
|||
/* These exceptions are genereated by the core itself.
|
||||
ERP should point to the insn following the brk. */
|
||||
ex_vec = env->trap_vector;
|
||||
env->pregs[PR_ERP] = env->pc;
|
||||
env->pregs[PRV10_BRP] = env->pc;
|
||||
break;
|
||||
|
||||
case EXCP_NMI:
|
||||
/* NMI is hardwired to vector zero. */
|
||||
ex_vec = 0;
|
||||
env->pregs[PR_CCS] &= ~M_FLAG;
|
||||
env->pregs[PR_NRP] = env->pc;
|
||||
env->pregs[PRV10_BRP] = env->pc;
|
||||
break;
|
||||
|
||||
case EXCP_BUSFAULT:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue