VirtualBox

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


Ignore:
Timestamp:
May 3, 2020 7:14:02 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
137723
Message:

AMD IOMMU: bugref:9654 Nits.

File:
1 edited

Legend:

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

    r84132 r84133  
    540540        uint32_t    u16DomainId : 1;                  /**< Bits 79:64   - Domain ID. */
    541541        uint32_t    u16GstCr3TableRootPtrMed : 16;    /**< Bits 95:80   - GCR3 TRP: Guest CR3 Table Root Pointer (Mid). */
    542         uint32_t    u1IoTlbEnable : 1;                /**< Bit  96      - IOTLB Enable. */
     542        uint32_t    u1IoTlbEnable : 1;                /**< Bit  96      - I: IOTLB Enable. */
    543543        uint32_t    u1SuppressPfEvents : 1;           /**< Bit  97      - SE: Supress Page-fault events. */
    544544        uint32_t    u1SuppressAllPfEvents : 1;        /**< Bit  98      - SA: Supress All Page-fault events. */
     
    34263426        if (uDvaExclLast - uDva >= uDvaExclFirst)
    34273427        {
    3428             /* Check if device access to addresses in the exclusion can be forwarded untranslated. */
     3428            /* Check if device access to addresses in the exclusion range can be forwarded untranslated. */
    34293429            if (    pThis->ExclRangeBaseAddr.n.u1AllowAll
    34303430                ||  pDevTabEntry->n.u1AllowExclusion)
     
    34583458    Assert(idxSeg < RT_ELEMENTS(pThis->aDevTabBaseAddrs));
    34593459
    3460     RTGCPHYS const GCPhysDevTab   = pThis->aDevTabBaseAddrs[idxSeg].n.u40Base << X86_PAGE_4K_SHIFT;
    3461     uint16_t const offDevTabEntry = uDevId & ~g_auDevTabSegMasks[idxSegsEn];
     3460    RTGCPHYS const GCPhysDevTab      = pThis->aDevTabBaseAddrs[idxSeg].n.u40Base << X86_PAGE_4K_SHIFT;
     3461    uint16_t const offDevTabEntry    = uDevId & ~g_auDevTabSegMasks[idxSegsEn];
    34623462    RTGCPHYS const GCPhysDevTabEntry = GCPhysDevTab + offDevTabEntry;
    34633463
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