VirtualBox

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


Ignore:
Timestamp:
Apr 8, 2021 1:34:35 PM (4 years ago)
Author:
vboxsync
Message:

Intel IOMMU: bugref:9967 WIP.

File:
1 edited

Legend:

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

    r88416 r88417  
    456456 * @param   uSagaw  The CAP_REG.SAGAW value.
    457457 */
    458 DECLINLINE(uint8_t) vtdGetSupGstAddrBits(uint8_t uSagaw)
     458static uint8_t vtdGetSupGstAddrBits(uint8_t uSagaw)
    459459{
    460460    if (uSagaw > 0 && uSagaw < 4)
    461         return uSagaw + 2;
     461        return 30 + (uSagaw * 9);
    462462    return 0;
    463463}
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