sim: rename common/aclocal.m4 to common/acinclude.m4
[deliverable/binutils-gdb.git] / sim / m32c / int.c
index 5556a120dc878957c3f6b4c3f2bb1a1ae4ee7c0f..0b3b6fef6a2290fc12427ec85569f3fa6244de10 100644 (file)
@@ -1,6 +1,7 @@
 /* int.c --- M32C interrupt handling.
 
-Copyright (C) 2005, 2007, 2008 Free Software Foundation, Inc.
+Copyright (C) 2005, 2007, 2008, 2009, 2010, 2011
+Free Software Foundation, Inc.
 Contributed by Red Hat, Inc.
 
 This file is part of the GNU simulators.
@@ -72,4 +73,5 @@ trigger_peripheral_interrupt (int vector, int icaddr)
   int addr = get_reg (intb) + vector * 4;
   trigger_interrupt (addr, 1);
   put_reg (flags, (get_reg (flags) & 0x8fff) | ((old_ic & 7) << 12));
+  mem_put_qi (icaddr, old_ic & ~ 0x08);
 }
This page took 0.036647 seconds and 4 git commands to generate.