VirtualBox

Changeset 3489 in vbox for trunk/src/VBox/Devices/PC


Ignore:
Timestamp:
Jul 6, 2007 11:15:52 AM (17 years ago)
Author:
vboxsync
Message:

Clear interrupt action flag when a spurious interrupt situation is detected. (-> dangerous change)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevPIC.cpp

    r3308 r3489  
    282282            Log(("pic_update_irq: irq 2 is active, but no interrupt is pending on the slave pic!!\n"));
    283283            /* Clear it here, so lower priority interrupts can still be dispatched. */
     284
     285            /* if this was the only pending irq, then we must clear the interrupt ff flag */
     286            pData->CTXALLSUFF(pPicHlp)->pfnClearInterruptFF(pData->CTXSUFF(pDevIns));
     287
    284288            /** @note Is this correct? */
    285289            pics[0].irr &= ~(1 << 2);
     290
     291            /* Call ourselves again just in case other interrupts are pending */
     292            return pic_update_irq(pData);
    286293        }
    287294    }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette