aboutsummaryrefslogtreecommitdiff
path: root/target-cris/helper.c
diff options
context:
space:
mode:
authorStefan Sandstrom <Stefan.Sandstrom@axis.com>2011-12-12 11:38:31 +0100
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2011-12-12 11:38:31 +0100
commit774d5c5b1604b8443a8e42048b370b6c95dbfc40 (patch)
treebe29f891c6f9679ddecff02903ce341ec9181827 /target-cris/helper.c
parentf18318eef8b4b263f4e82a5338c9b2875a6c73c8 (diff)
cris: Handle conditional stores on CRISv10
Signed-off-by: Stefan Sandstrom <Stefan.Sandstrom@axis.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'target-cris/helper.c')
-rw-r--r--target-cris/helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-cris/helper.c b/target-cris/helper.c
index 75f0035e6e..5bc6d810cb 100644
--- a/target-cris/helper.c
+++ b/target-cris/helper.c
@@ -157,6 +157,7 @@ static void do_interruptv10(CPUState *env)
/* Now that we are in kernel mode, load the handlers address. */
env->pc = ldl_code(env->pregs[PR_EBP] + ex_vec * 4);
env->locked_irq = 1;
+ env->pregs[PR_CCS] |= F_FLAG_V10; /* set F. */
qemu_log_mask(CPU_LOG_INT, "%s isr=%x vec=%x ccs=%x pid=%d erp=%x\n",
__func__, env->pc, ex_vec,