diff options
author | Stefan Sandstrom <Stefan.Sandstrom@axis.com> | 2011-12-12 11:38:31 +0100 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2011-12-12 11:38:31 +0100 |
commit | 774d5c5b1604b8443a8e42048b370b6c95dbfc40 (patch) | |
tree | be29f891c6f9679ddecff02903ce341ec9181827 /target-cris/helper.c | |
parent | f18318eef8b4b263f4e82a5338c9b2875a6c73c8 (diff) | |
download | qemu-774d5c5b1604b8443a8e42048b370b6c95dbfc40.zip qemu-774d5c5b1604b8443a8e42048b370b6c95dbfc40.tar.gz qemu-774d5c5b1604b8443a8e42048b370b6c95dbfc40.tar.bz2 |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-cris/helper.c b/target-cris/helper.c index 75f0035..5bc6d81 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, |