VirtualBox

Changeset 88567 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Apr 16, 2021 2:58:29 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
143862
Message:

Intel IOMMU: bugref:9967 Added pdmIsLockOwner function to IOMMU helper.

File:
1 edited

Legend:

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

    r88078 r88567  
    16891689
    16901690
     1691/** @interface_method_impl{PDMIOMMUHLPR0,pfnLock} */
     1692static DECLCALLBACK(bool) pdmR0IommuHlp_LockIsOwner(PPDMDEVINS pDevIns)
     1693{
     1694    PDMDEV_ASSERT_DEVINS(pDevIns);
     1695    return pdmLockIsOwner(pDevIns->Internal.s.pGVM);
     1696}
     1697
     1698
    16911699/**
    16921700 * The Ring-0 IOMMU Helper Callbacks.
     
    16971705    pdmR0IommuHlp_Lock,
    16981706    pdmR0IommuHlp_Unlock,
     1707    pdmR0IommuHlp_LockIsOwner,
    16991708    PDM_IOMMUHLPR0_VERSION, /* the end */
    17001709};
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