VirtualBox

Changeset 80677 in vbox for trunk/src


Ignore:
Timestamp:
Sep 9, 2019 2:29:33 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/VMMR3/PDMDevHlp.cpp

    r80673 r80677  
    25502550    RT_NOREF(pDevIns); /** @todo pass pDevIns->Internal.s.pVMR3 to the crit sect code.   */
    25512551    return PDMCritSectIsOwner(pCritSect);
    2552 }
    2553 
    2554 
    2555 /** @interface_method_impl{PDMDEVHLPR3,pfnCritSectIsOwnerEx} */
    2556 static DECLCALLBACK(bool)     pdmR3DevHlp_CritSectIsOwnerEx(PPDMDEVINS pDevIns, PCPDMCRITSECT pCritSect, PVMCPUCC pVCpu)
    2557 {
    2558     PDMDEV_ASSERT_DEVINS(pDevIns);
    2559     RT_NOREF(pDevIns); /** @todo pass pDevIns->Internal.s.pVMR3 to the crit sect code.   */
    2560     return PDMCritSectIsOwnerEx(pCritSect, pVCpu);
    25612552}
    25622553
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