Skip to contentSkip to conversation

Remove interrupt

PATCH New Hollis Blanchard 1 participant 1 message Mar 28, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove interrupt

1 file changed, 1 insertion(+), 5 deletions(-)

qemu/hw/ppc4xx_devs.c | 6 +-----

# HG changeset patch
# User Hollis Blanchard <[email protected]> # Date 1206672146 18000
# Branch merge
# Node ID 86c8ce190142bc39927ffaf0cfd8773f04a35086 # Parent 70ac21ad91e107e5b58a7488f8f9a81a1acbda9f [qemu ppc uic] Remove interrupt polarity code.

Interrupt polarity should have no functional effect, since qemu tracks logical IRQ state, not the electrical state of physical lines.

qemu/hw/ppc4xx_devs.c +1 -5
@@ -377,10 +377,7 @@ static void ppcuic_set_irq (void *opaque
     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 @@ static void dcr_write_uic (void *opaque,
         break;
     case DCR_UICPR:
         uic->uicpr = val;
-        ppcuic_trigger_irq(uic);
         break;
     case DCR_UICTR:
         uic->uictr = val;

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
kvm-ppc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-ppc-devel