VirtualBox

Changeset 84089 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Apr 29, 2020 4:53:42 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
137672
Message:

AMD IOMMU: bugref:9654 Bits.

File:
1 edited

Legend:

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

    r84088 r84089  
    33863386                pThis->IommuBar.au32[0] = u32Value & IOMMU_BAR_VALID_MASK;
    33873387                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]);
    33913391                rcStrict = PDMDevHlpMmioMap(pDevIns, pThis->hMmio, GCPhysMmioBase);
    33923392                if (RT_FAILURE(rcStrict))
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette