* [Qemu-devel] [4427] Correct interrupt masking for etrax timers.
@ 2008-05-11 14:58 Edgar E. Iglesias
0 siblings, 0 replies; only message in thread
From: Edgar E. Iglesias @ 2008-05-11 14:58 UTC (permalink / raw)
To: qemu-devel
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]);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-11 14:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-11 14:58 [Qemu-devel] [4427] Correct interrupt masking for etrax timers Edgar E. Iglesias
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).