VirtualBox

Changeset 89453 in vbox


Ignore:
Timestamp:
Jun 2, 2021 7:49:24 AM (3 years ago)
Author:
vboxsync
Message:

Intel IOMMU: bugref:9967 typo.

File:
1 edited

Legend:

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

    r89452 r89453  
    20032003 * @returns VBox status code.
    20042004 * @param   pDevIns         The IOMMU device instance.
    2005  * @param   GCPhyseBase     The output address of the translation.
     2005 * @param   GCPhysBase      The output address of the translation.
    20062006 * @param   cShift          The page shift of the translation.
    20072007 * @param   fPerm           The permissions granted for the translated.
     
    20092009 * @param   pMemReqRemap    The DMA memory request remapping info.
    20102010 */
    2011 static int dmarDrValidateAndUpdateIotlbe(PPDMDEVINS pDevIns, RTGCPHYS GCPhyseBase, uint8_t cShift, uint8_t fPerm,
     2011static int dmarDrValidateAndUpdateIotlbe(PPDMDEVINS pDevIns, RTGCPHYS GCPhysBase, uint8_t cShift, uint8_t fPerm,
    20122012                                         uint16_t idDomain, PDMARMEMREQREMAP pMemReqRemap)
    20132013{
    20142014    Assert(   pMemReqRemap->fTtm == VTD_TTM_LEGACY_MODE
    20152015           || pMemReqRemap->fTtm == VTD_TTM_SCALABLE_MODE);
    2016     Assert(!(GCPhyseBase & X86_PAGE_4K_OFFSET_MASK));
     2016    Assert(!(GCPhysBase & X86_PAGE_4K_OFFSET_MASK));
    20172017
    20182018    /* Ensure the output address is not in the interrupt address range. */
    2019     if (GCPhyseBase - VBOX_MSI_ADDR_BASE >= VBOX_MSI_ADDR_SIZE)
    2020     {
    2021         pMemReqRemap->Iotlbe.GCPhysBase = GCPhyseBase;
     2019    if (GCPhysBase - VBOX_MSI_ADDR_BASE >= VBOX_MSI_ADDR_SIZE)
     2020    {
     2021        pMemReqRemap->Iotlbe.GCPhysBase = GCPhysBase;
    20222022        pMemReqRemap->Iotlbe.cShift     = cShift;
    20232023        pMemReqRemap->Iotlbe.fPerm      = fPerm;
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