Changeset 87458 in vbox for trunk/src/VBox/Devices/Bus
- Timestamp:
- Jan 28, 2021 1:26:28 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 142477
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevIommuAmd.cpp
r87426 r87458 628 628 * 629 629 * @param pThis The IOMMU device state. 630 * @param uDomainId The domain ID. 630 631 * @param uIova The I/O virtual address being accessed. 631 632 * @param pWalkResult The I/O page walk result of the access. 632 633 */ 633 static void iommuAmdIotlbAdd(PIOMMU pThis, uint 64_t uIova, PCIOWALKRESULT pWalkResult)634 static void iommuAmdIotlbAdd(PIOMMU pThis, uint16_t uDomainId, uint64_t uIova, PCIOWALKRESULT pWalkResult) 634 635 { 635 636 Assert(!(uIova & X86_PAGE_4K_OFFSET_MASK)); … … 662 663 663 664 /* Update the entry with the result of the page walk. */ 664 pIotlbe->Core.Key = uIova;665 pIotlbe->Core.KeyLast = uIova + RT_BIT_64(pWalkResult->cShift) - 1;665 pIotlbe->Core.Key = iommuAmdIotlbConstructKey(uDomainId, uIova); 666 pIotlbe->Core.KeyLast = iommuAmdIotlbConstructKey(uDomainId, uIova + RT_BIT_64(pWalkResult->cShift) - 1); 666 667 pIotlbe->WalkResult = *pWalkResult; 667 668
Note:
See TracChangeset
for help on using the changeset viewer.