VirtualBox

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


Ignore:
Timestamp:
Jun 7, 2021 3:47:31 AM (4 years ago)
Author:
vboxsync
Message:

Intel IOMMU: bugref:9967 Nits.

File:
1 edited

Legend:

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

    r89524 r89536  
    25682568static int dmarDrScalableModeRemapAddr(PPDMDEVINS pDevIns, uint64_t uRtaddrReg, PDMARMEMREQREMAP pMemReqRemap)
    25692569{
    2570     NOREF(pMemReqRemap);
    2571 
     2570    RT_NOREF2(uRtaddrReg, pMemReqRemap);
    25722571    PCDMAR pThis = PDMDEVINS_2_DATA(pDevIns, PDMAR);
    2573     if (pThis->fExtCapReg & VTD_BF_ECAP_REG_SMTS_MASK)
    2574     {
    2575         RT_NOREF1(uRtaddrReg);
    2576         return VERR_NOT_IMPLEMENTED;
    2577     }
    2578 
    2579     return VERR_IOMMU_ADDR_TRANSLATION_FAILED;
     2572    Assert(pThis->fExtCapReg & VTD_BF_ECAP_REG_SMTS_MASK);
     2573    return VERR_NOT_IMPLEMENTED;
    25802574}
    25812575
     
    31193113    /*
    31203114     * The below check is redundant since we check both TTM and DW for each
    3121      * descriptor type we process. However, the error reported by hardware
    3122      * may differ hence this is kept commented out but not removed from the code
    3123      * if we need to change this in the future.
     3115     * descriptor type we process. However, the order errors reported by hardware
     3116     * may differ hence this is kept commented out but not removed if we need to
     3117     * change this in the future.
    31243118     *
    31253119     * In our implementation, we would report the descriptor type as invalid,
Note: See TracChangeset for help on using the changeset viewer.

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