VirtualBox

Changeset 80674 in vbox


Ignore:
Timestamp:
Sep 9, 2019 2:08:12 PM (5 years ago)
Author:
vboxsync
Message:

PDM/DevHlp: Need to wrap the crit sect methods so we can pass on pVM to the crit sect code later, as we won't be able to sore pointers in the internal critical section data anymore. [fix] bugref:9218

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/PDMR0Device.cpp

    r80673 r80674  
    753753    RT_NOREF(pDevIns); /** @todo pass pDevIns->Internal.s.pGVM to the crit sect code.   */
    754754    return PDMCritSectIsOwner(pCritSect);
    755 }
    756 
    757 
    758 /** @interface_method_impl{PDMDEVHLPR0,pfnCritSectIsOwnerEx} */
    759 static DECLCALLBACK(bool)     pdmR0DevHlp_CritSectIsOwnerEx(PPDMDEVINS pDevIns, PCPDMCRITSECT pCritSect, PVMCPUCC pVCpu)
    760 {
    761     PDMDEV_ASSERT_DEVINS(pDevIns);
    762     RT_NOREF(pDevIns); /** @todo pass pDevIns->Internal.s.pGVM to the crit sect code.   */
    763     return PDMCritSectIsOwnerEx(pCritSect, pVCpu);
    764755}
    765756
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