qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [4329] PPC UIC: Remove interrupt polarity code


From: Aurelien Jarno
Subject: [Qemu-devel] [4329] PPC UIC: Remove interrupt polarity code
Date: Sun, 04 May 2008 13:15:16 +0000

Revision: 4329
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4329
Author:   aurel32
Date:     2008-05-04 13:15:15 +0000 (Sun, 04 May 2008)

Log Message:
-----------
PPC UIC: Remove interrupt polarity code

(Hollis Blanchard)

Modified Paths:
--------------
    trunk/hw/ppc4xx_devs.c

Modified: trunk/hw/ppc4xx_devs.c
===================================================================
--- trunk/hw/ppc4xx_devs.c      2008-05-04 13:11:53 UTC (rev 4328)
+++ trunk/hw/ppc4xx_devs.c      2008-05-04 13:15:15 UTC (rev 4329)
@@ -377,10 +377,7 @@
     if (irq_num < 0 || irq_num > 31)
         return;
     sr = uic->uicsr;
-    if (!(uic->uicpr & mask)) {
-        /* Negatively asserted IRQ */
-        level = level == 0 ? 1 : 0;
-    }
+
     /* Update status register */
     if (uic->uictr & mask) {
         /* Edge sensitive interrupt */
@@ -479,7 +476,6 @@
         break;
     case DCR_UICPR:
         uic->uicpr = val;
-        ppcuic_trigger_irq(uic);
         break;
     case DCR_UICTR:
         uic->uictr = val;






reply via email to

[Prev in Thread] Current Thread [Next in Thread]