Changeset 90029 in vbox
- Timestamp:
- Jul 5, 2021 2:35:44 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevIommuAmd.cpp
r90028 r90029 3350 3350 PCEVT_GENERIC_T pEvent = (PCEVT_GENERIC_T)pEvtIoPageFault; 3351 3351 PIOMMU pThis = PDMDEVINS_2_DATA(pDevIns, PIOMMU); 3352 STAM_COUNTER_INC(&pThis->StatIopfs); 3352 STAM_COUNTER_INC(&pThis->StatIopfs); NOREF(pThis); 3353 3353 3354 3354 #ifdef IOMMU_WITH_DTE_CACHE … … 3705 3705 uint64_t const offPte = idxPte << 3; 3706 3706 RTGCPHYS const GCPhysPtEntity = (PtEntity.u64 & IOMMU_PTENTITY_ADDR_MASK) + offPte; 3707 int rc = PDMDevHlpP hysRead(pDevIns, GCPhysPtEntity, &PtEntity.u64, sizeof(PtEntity));3707 int rc = PDMDevHlpPCIPhysRead(pDevIns, GCPhysPtEntity, &PtEntity.u64, sizeof(PtEntity)); 3708 3708 if (RT_FAILURE(rc)) 3709 3709 { … … 3803 3803 pPageLookup->cShift = cShift; 3804 3804 pPageLookup->fPerm = fPtePerm; 3805 STAM_COUNTER_INC(&pThis->StatNonStdPageSize); 3805 STAM_COUNTER_INC(&pThis->StatNonStdPageSize); NOREF(pThis); 3806 3806 return VINF_SUCCESS; 3807 3807 }
Note:
See TracChangeset
for help on using the changeset viewer.