VirtualBox

Changeset 88562 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Apr 16, 2021 12:18:03 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
143857
Message:

Intel IOMMU: bugref:9967 PDM: Added pdmLockIsOwner for upcoming changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PDMAll.cpp

    r84826 r88562  
    308308
    309309/**
     310 * Checks if this thread is owning the PDM lock.
     311 *
     312 * @returns @c true if the lock is taken, @c false otherwise.
     313 * @param   pVM     The cross context VM structure.
     314 */
     315bool pdmLockIsOwner(PCVMCC pVM)
     316{
     317    return PDMCritSectIsOwner(&pVM->pdm.s.CritSect);
     318}
     319
     320
     321/**
    310322 * Converts ring 3 VMM heap pointer to a guest physical address
    311323 *
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