VirtualBox

Changeset 87127 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Dec 25, 2020 1:10:15 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
142019
Message:

DMA,PDM: Pass the pDevIns of the caller to PDMDMAREG::pfnRegister. DMA controller now locks all registered DMA devices before doing callbacks, as it is in the best position to deal with the lock order inversion issue. bugref:9888

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PDMDevHlp.cpp

    r86661 r87127  
    31273127    int rc = VINF_SUCCESS;
    31283128    if (pVM->pdm.s.pDmac)
    3129         pVM->pdm.s.pDmac->Reg.pfnRegister(pVM->pdm.s.pDmac->pDevIns, uChannel, pfnTransferHandler, pvUser);
     3129        pVM->pdm.s.pDmac->Reg.pfnRegister(pVM->pdm.s.pDmac->pDevIns, uChannel, pDevIns, pfnTransferHandler, pvUser);
    31303130    else
    31313131    {
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