VirtualBox

Changeset 61803 in vbox


Ignore:
Timestamp:
Jun 21, 2016 4:15:28 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
108204
Message:

IOAPIC: Assert if no vector found while clearing remoteIRR via the EOI broadcast.

File:
1 edited

Legend:

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

    r61741 r61803  
    569569    LogFlow(("IOAPIC: ioapicSetEoi: u8Vector=%#x (%u)\n", u8Vector, u8Vector));
    570570
     571    bool fRemoteIrrCleared = false;
    571572    int rc = PDMCritSectEnter(&pThis->CritSect, VINF_IOM_R3_MMIO_WRITE);
    572573    if (rc == VINF_SUCCESS)
     
    577578            if (IOAPIC_RTE_GET_VECTOR(u64Rte) == u8Vector)
    578579            {
     580                fRemoteIrrCleared = true;
    579581                pThis->au64RedirTable[idxRte] &= ~IOAPIC_RTE_REMOTE_IRR;
    580582                Log2(("IOAPIC: ioapicSetEoi: Cleared remote IRR, idxRte=%u vector=%#x (%u)\n", idxRte, u8Vector, u8Vector));
     
    590592
    591593        PDMCritSectLeave(&pThis->CritSect);
     594        AssertMsg(fRemoteIrrCleared, ("Failed to clear remote IRR for vector %#x (%u)\n", u8Vector, u8Vector));
    592595    }
    593596    else
Note: See TracChangeset for help on using the changeset viewer.

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