Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JvD0K-0007X7-JN for qemu-devel@nongnu.org; Sun, 11 May 2008 10:58:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JvD0J-0007WB-Vx for qemu-devel@nongnu.org; Sun, 11 May 2008 10:58:24 -0400 Received: from [199.232.76.173] (port=39836 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JvD0J-0007W0-LO for qemu-devel@nongnu.org; Sun, 11 May 2008 10:58:23 -0400 Received: from savannah.gnu.org ([199.232.41.3]:42228 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JvD0J-0007t7-Ll for qemu-devel@nongnu.org; Sun, 11 May 2008 10:58:23 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1JvD0I-00022J-4G for qemu-devel@nongnu.org; Sun, 11 May 2008 14:58:22 +0000 Received: from edgar_igl by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1JvD0H-00022D-HG for qemu-devel@nongnu.org; Sun, 11 May 2008 14:58:21 +0000 MIME-Version: 1.0 Errors-To: edgar_igl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: "Edgar E. Iglesias" Message-Id: Date: Sun, 11 May 2008 14:58:21 +0000 Subject: [Qemu-devel] [4427] Correct interrupt masking for etrax timers. Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 4427 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4427 Author: edgar_igl Date: 2008-05-11 14:58:19 +0000 (Sun, 11 May 2008) Log Message: ----------- Correct interrupt masking for etrax timers. Modified Paths: -------------- trunk/hw/etraxfs_timer.c Modified: trunk/hw/etraxfs_timer.c =================================================================== --- trunk/hw/etraxfs_timer.c 2008-05-11 14:35:37 UTC (rev 4426) +++ trunk/hw/etraxfs_timer.c 2008-05-11 14:58:19 UTC (rev 4427) @@ -174,7 +174,7 @@ t->r_masked_intr = t->r_intr & t->rw_intr_mask; D(printf("%s: masked_intr=%x\n", __func__, t->r_masked_intr)); - if (t->r_masked_intr & 1) + if (t->r_masked_intr) qemu_irq_raise(t->irq[0]); else qemu_irq_lower(t->irq[0]);