Commit 50bf72b384536e961fd6e433dcfa5c4719201e11

Authored by aurel32
1 parent 15342721

PPC UIC: Remove interrupt polarity code

(Hollis Blanchard)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4329 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 5 deletions
hw/ppc4xx_devs.c
... ... @@ -377,10 +377,7 @@ static void ppcuic_set_irq (void *opaque, int irq_num, int level)
377 377 if (irq_num < 0 || irq_num > 31)
378 378 return;
379 379 sr = uic->uicsr;
380   - if (!(uic->uicpr & mask)) {
381   - /* Negatively asserted IRQ */
382   - level = level == 0 ? 1 : 0;
383   - }
  380 +
384 381 /* Update status register */
385 382 if (uic->uictr & mask) {
386 383 /* Edge sensitive interrupt */
... ... @@ -479,7 +476,6 @@ static void dcr_write_uic (void *opaque, int dcrn, target_ulong val)
479 476 break;
480 477 case DCR_UICPR:
481 478 uic->uicpr = val;
482   - ppcuic_trigger_irq(uic);
483 479 break;
484 480 case DCR_UICTR:
485 481 uic->uictr = val;
... ...