Changeset 84089 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Apr 29, 2020 4:53:42 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 137672
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevIommuAmd.cpp
r84088 r84089 3386 3386 pThis->IommuBar.au32[0] = u32Value & IOMMU_BAR_VALID_MASK; 3387 3387 Assert(pThis->hMmio == NIL_IOMMMIOHANDLE); 3388 RTGCPHYS GCPhysMmioBase = RT_MAKE_U64(pThis->IommuBar.n.u18BaseAddrLo, pThis->IommuBar.n.u32BaseAddrHi);3389 GCPhysMmioBase <<= 14; /* 16K aligned when performance counters are not supported. */3390 Assert(!pThis->ExtFeat.n.u1PerfCounterSup);3388 Assert(!pThis->ExtFeat.n.u1PerfCounterSup); /* 16K aligned when performance counters aren't supported. */ 3389 uint64_t const fAlignMask = UINT64_C(0xffffffffffffc000); 3390 RTGCPHYS const GCPhysMmioBase = RT_MAKE_U64(pThis->IommuBar.au32[0] & fAlignMask, pThis->IommuBar.au32[1]); 3391 3391 rcStrict = PDMDevHlpMmioMap(pDevIns, pThis->hMmio, GCPhysMmioBase); 3392 3392 if (RT_FAILURE(rcStrict))
Note:
See TracChangeset
for help on using the changeset viewer.