From 774d5c5b1604b8443a8e42048b370b6c95dbfc40 Mon Sep 17 00:00:00 2001 From: Stefan Sandstrom Date: Mon, 12 Dec 2011 11:38:31 +0100 Subject: cris: Handle conditional stores on CRISv10 Signed-off-by: Stefan Sandstrom Signed-off-by: Edgar E. Iglesias --- target-cris/helper.c | 1 + 1 file changed, 1 insertion(+) (limited to 'target-cris/helper.c') 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, -- cgit v1.1