VirtualBox

Changeset 83684 in vbox


Ignore:
Timestamp:
Apr 14, 2020 8:50:51 AM (5 years ago)
Author:
vboxsync
Message:

AMD IOMMU: bugref:9654 Bits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Bus/DevIommuAmd.cpp

    r83681 r83684  
    23022302static DECLCALLBACK(int) iommuAmdR3CmdThreadWakeUp(PPDMDEVINS pDevIns, PPDMTHREAD pThread)
    23032303{
    2304     RT_NOREF(pDevIns, pThread);
     2304    NOREF(pThread);
     2305    PIOMMU pThis = PDMDEVINS_2_DATA(pDevIns, PIOMMU);
     2306    return PDMDevHlpSUPSemEventSignal(pDevIns, pThis->hEvtCmdThread);
    23052307}
    23062308
     
    33363338static DECLCALLBACK(int) iommuAmdR3Destruct(PPDMDEVINS pDevIns)
    33373339{
    3338     NOREF(pDevIns);
     3340    PDMDEV_CHECK_VERSIONS_RETURN_QUIET(pDevIns);
     3341    PIOMMU   pThis   = PDMDEVINS_2_DATA(pDevIns, PIOMMU);
     3342    LogFlowFunc(("\n"));
     3343
     3344    /* Close the command thread semaphore. */
     3345    if (pThis->hEvtCmdThread != NIL_SUPSEMEVENT)
     3346    {
     3347        PDMDevHlpSUPSemEventClose(pDevIns, pThis->hEvtCmdThread);
     3348        pThis->hEvtCmdThread = NIL_SUPSEMEVENT;
     3349    }
    33393350    return VINF_SUCCESS;
    33403351}
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