VirtualBox

Changeset 90029 in vbox


Ignore:
Timestamp:
Jul 5, 2021 2:35:44 PM (4 years ago)
Author:
vboxsync
Message:

AMD IOMMU: bugref:9654 Build fix.

File:
1 edited

Legend:

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

    r90028 r90029  
    33503350    PCEVT_GENERIC_T pEvent = (PCEVT_GENERIC_T)pEvtIoPageFault;
    33513351    PIOMMU pThis = PDMDEVINS_2_DATA(pDevIns, PIOMMU);
    3352     STAM_COUNTER_INC(&pThis->StatIopfs);
     3352    STAM_COUNTER_INC(&pThis->StatIopfs); NOREF(pThis);
    33533353
    33543354#ifdef IOMMU_WITH_DTE_CACHE
     
    37053705            uint64_t const offPte         = idxPte << 3;
    37063706            RTGCPHYS const GCPhysPtEntity = (PtEntity.u64 & IOMMU_PTENTITY_ADDR_MASK) + offPte;
    3707             int rc = PDMDevHlpPhysRead(pDevIns, GCPhysPtEntity, &PtEntity.u64, sizeof(PtEntity));
     3707            int rc = PDMDevHlpPCIPhysRead(pDevIns, GCPhysPtEntity, &PtEntity.u64, sizeof(PtEntity));
    37083708            if (RT_FAILURE(rc))
    37093709            {
     
    38033803                pPageLookup->cShift    = cShift;
    38043804                pPageLookup->fPerm     = fPtePerm;
    3805                 STAM_COUNTER_INC(&pThis->StatNonStdPageSize);
     3805                STAM_COUNTER_INC(&pThis->StatNonStdPageSize); NOREF(pThis);
    38063806                return VINF_SUCCESS;
    38073807            }
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