Changeset 84236 in vbox
- Timestamp:
- May 10, 2020 3:25:16 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevIommuAmd.cpp
r84228 r84236 4276 4276 /* Record the translated base address (before continuing to check permission bits of any subsequent pages). */ 4277 4277 if (cbChecked == 0) 4278 *pGCPhysSpa = Iotlbe.GCPhysSpa; 4278 { 4279 RTGCPHYS const offSpa = ~(UINT64_C(0xffffffffffffffff) << Iotlbe.cShift); 4280 *pGCPhysSpa = Iotlbe.GCPhysSpa | offSpa; 4281 } 4279 4282 4280 4283 /** @todo IOMMU: Split large pages into 4K IOTLB entries and add to IOTLB cache. */ 4281 4284 4282 4285 uint64_t const cbPhysPage = UINT64_C(1) << Iotlbe.cShift; 4283 cbChecked += cbPhysPage; 4286 cbChecked += cbPhysPage; /** @todo IOMMU: We need to consider the offset here. */ 4284 4287 if (cbChecked >= cbAccess) 4285 4288 break;
Note:
See TracChangeset
for help on using the changeset viewer.