From 5cf3f6e29299cef28b42c75c0dfd9303eed71603 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Sat, 8 Apr 2006 17:37:56 +0000 Subject: [PATCH] * cris/crisv32f.c (MY (deliver_interrupt)): Set CCS to new_ccs. --- sim/ChangeLog | 4 ++++ sim/cris/crisv32f.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/sim/ChangeLog b/sim/ChangeLog index 144426a6aa6..c5b1af04d2a 100644 --- a/sim/ChangeLog +++ b/sim/ChangeLog @@ -1,3 +1,7 @@ +2006-04-08 Hans-Peter Nilsson + + * cris/crisv32f.c (MY (deliver_interrupt)): Set CCS to new_ccs. + 2006-04-03 Hans-Peter Nilsson * cris/dv-cris.c, cris/dv-rv.c, cris/rvdummy.c: New files. diff --git a/sim/cris/crisv32f.c b/sim/cris/crisv32f.c index cd14d3e3c67..ad8297ef9cb 100644 --- a/sim/cris/crisv32f.c +++ b/sim/cris/crisv32f.c @@ -590,6 +590,8 @@ MY (deliver_interrupt) (SIM_CPU *current_cpu, recognize that we're in kernel mode. */ CPU (h_ubit_v32) = 0; + SET_H_SR (H_SR_CCS, new_ccs); + if (was_user) { /* These methods require that user mode is unset. */ -- 2.30.2