aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
Diffstat (limited to 'sim')
-rw-r--r--sim/ChangeLog4
-rw-r--r--sim/cris/crisv32f.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/sim/ChangeLog b/sim/ChangeLog
index 144426a..c5b1af0 100644
--- a/sim/ChangeLog
+++ b/sim/ChangeLog
@@ -1,3 +1,7 @@
+2006-04-08 Hans-Peter Nilsson <hp@axis.com>
+
+ * cris/crisv32f.c (MY (deliver_interrupt)): Set CCS to new_ccs.
+
2006-04-03 Hans-Peter Nilsson <hp@axis.com>
* 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 cd14d3e..ad8297e 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. */