From 50bf72b384536e961fd6e433dcfa5c4719201e11 Mon Sep 17 00:00:00 2001 From: aurel32 Date: Sun, 4 May 2008 13:15:15 +0000 Subject: [PATCH] PPC UIC: Remove interrupt polarity code (Hollis Blanchard) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4329 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/ppc4xx_devs.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/hw/ppc4xx_devs.c b/hw/ppc4xx_devs.c index f79c4c851b..e87172f298 100644 --- a/hw/ppc4xx_devs.c +++ b/hw/ppc4xx_devs.c @@ -377,10 +377,7 @@ static void ppcuic_set_irq (void *opaque, int irq_num, int level) 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, int dcrn, target_ulong val) break; case DCR_UICPR: uic->uicpr = val; - ppcuic_trigger_irq(uic); break; case DCR_UICTR: uic->uictr = val;