summaryrefslogtreecommitdiff
path: root/target-cris/helper.c
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar@axis.com>2011-07-05 12:56:41 +0200
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2012-06-14 15:29:11 +0200
commitf756c7a723faa3a21dcb6bb6806e77f1628019f5 (patch)
tree8a2b0f2faba859e6e57152aa75bfa4a280d0ea09 /target-cris/helper.c
parent7677e24f3db8466c7d6014a794b1e425bc7929ba (diff)
downloadqemu-f756c7a723faa3a21dcb6bb6806e77f1628019f5.tar.gz
qemu-f756c7a723faa3a21dcb6bb6806e77f1628019f5.tar.bz2
qemu-f756c7a723faa3a21dcb6bb6806e77f1628019f5.zip
cris: Add break support for v10.
Still no retb Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
Diffstat (limited to 'target-cris/helper.c')
-rw-r--r--target-cris/helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-cris/helper.c b/target-cris/helper.c
index 8680f436a0..dcc19ef63b 100644
--- a/target-cris/helper.c
+++ b/target-cris/helper.c
@@ -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: