VirtualBox

Changeset 89492 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 4, 2021 4:22:04 AM (4 years ago)
Author:
vboxsync
Message:

Intel IOMMU: bugref:9967 Address translation, WIP.

File:
1 edited

Legend:

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

    r89477 r89492  
    20782078        pIoPageOut->GCPhysBase = GCPhysBase;
    20792079        pIoPageOut->cShift     = cShift;
    2080         pIoPageOut->fPerm       = fPerm;
     2080        pIoPageOut->fPerm      = fPerm;
    20812081        return VINF_SUCCESS;
    20822082    }
     
    23012301        if (RT_SUCCESS(rc))
    23022302        {
    2303             Assert(IoPage.cShift >= X86_PAGE_4K_SHIFT);
     2303            Assert(IoPage.cShift >= X86_PAGE_4K_SHIFT && IoPage.cShift <= X86_PAGE_1G_SHIFT);
    23042304
    23052305            /* Store the translated address before continuing to access more pages. */
     
    26442644        }
    26452645
     2646        *pGCPhysSpa    = MemReqRemap.Out.AddrRange.uAddr;
    26462647        *pcbContiguous = MemReqRemap.Out.AddrRange.cb;
    2647         *pGCPhysSpa    = MemReqRemap.Out.AddrRange.uAddr;
    26482648        return rc;
    26492649    }
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