VirtualBox

Changeset 88642 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 22, 2021 7:09:10 AM (4 years ago)
Author:
vboxsync
Message:

AMD IOMMU: bugref:9654 Assertion for upcoming locking changes.

File:
1 edited

Legend:

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

    r88622 r88642  
    207207        else \
    208208            return rcLock; \
     209    } while (0)
     210
     211/** Checks if the current thread owns the PDM lock. */
     212# define IOMMU_ASSERT_LOCK_IS_OWNER(a_pDevIns, a_pThisCC) \
     213    do \
     214    { \
     215        Assert((a_pThisCC)->CTX_SUFF(pIommuHlp)->pfnLockIsOwner((a_pDevIns))); \
     216        NOREF(a_pThisCC); \
    209217    } while (0)
    210218
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