VirtualBox

Changeset 36400 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Mar 24, 2011 1:14:26 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
70754
Message:

PCI: work on IOMMU notifications

Location:
trunk/src/VBox/HostDrivers/VBoxPci
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxPci/VBoxPci.c

    r36340 r36400  
    8383
    8484DECLINLINE(void) vboxPciDevUnlock(PVBOXRAWPCIINS pThis)
     85{
     86    RTSemFastMutexRelease(pThis->hFastMtx);
     87}
     88
     89DECLINLINE(int) vboxPciVmLock(PVBOXRAWPCIDRVVM pThis)
     90{
     91    int rc = RTSemFastMutexRequest(pThis->hFastMtx);
     92    AssertRC(rc);
     93    return rc;
     94}
     95
     96DECLINLINE(void) vboxPciVmUnlock(PVBOXRAWPCIDRVVM pThis)
    8597{
    8698    RTSemFastMutexRelease(pThis->hFastMtx);
     
    380392
    381393    rc = vboxPciOsDevPowerStateChange(pThis, aState);
    382    
     394
    383395    vboxPciDevUnlock(pThis);
    384396
  • trunk/src/VBox/HostDrivers/VBoxPci/VBoxPciInternal.h

    r36343 r36400  
    100100#ifdef RT_OS_LINUX
    101101# ifdef VBOX_WITH_IOMMU
    102     struct iommu_domain* iommu_domain;
     102    struct iommu_domain* pIommuDomain;
    103103# endif
    104104#endif
     105    int32_t        fFlags;
    105106} VBOXRAWPCIDRVVM;
    106107
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