* cris/crisv32f.c (MY (deliver_interrupt)): Set CCS to new_ccs.

This commit is contained in:
Hans-Peter Nilsson 2006-04-08 17:37:56 +00:00
parent c466736ab1
commit 5cf3f6e292
2 changed files with 6 additions and 0 deletions

View file

@ -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.

View file

@ -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. */