VirtualBox

Changeset 84088 in vbox for trunk/src/VBox/Devices/Bus


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

AMD IOMMU: bugref:9654 Bits.

File:
1 edited

Legend:

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

    r84086 r84088  
    27752775#endif
    27762776
     2777
    27772778/**
    27782779 * Writes an IOMMU register (32-bit and 64-bit).
     
    33853386                pThis->IommuBar.au32[0] = u32Value & IOMMU_BAR_VALID_MASK;
    33863387                Assert(pThis->hMmio == NIL_IOMMMIOHANDLE);
    3387                 RTGCPHYS const GCPhysMmioBase = RT_MAKE_U64(pThis->IommuBar.n.u18BaseAddrLo, pThis->IommuBar.n.u32BaseAddrHi);
     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);
    33883391                rcStrict = PDMDevHlpMmioMap(pDevIns, pThis->hMmio, GCPhysMmioBase);
    33893392                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