VirtualBox

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


Ignore:
Timestamp:
Apr 16, 2020 5:12:58 AM (5 years ago)
Author:
vboxsync
Message:

AMD IOMMU: bugref:9654 Bits.

File:
1 edited

Legend:

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

    r83703 r83711  
    22152215    if (!(HwStatus & RT_BIT(0)))
    22162216        return VINF_SUCCESS;
    2217     if (u64Value & HwStatus & RT_BIT(0))
    2218         HwStatus &= ~RT_BIT(0);
    2219     if (u64Value & HwStatus & RT_BIT(1))
    2220         HwStatus &= ~RT_BIT(1);
     2217    if (u64Value & HwStatus & RT_BIT_64(0))
     2218        HwStatus &= ~RT_BIT_64(0);
     2219    if (u64Value & HwStatus & RT_BIT_64(1))
     2220        HwStatus &= ~RT_BIT_64(1);
    22212221    pThis->HwEvtStatus.u64 = HwStatus;
    22222222    return VINF_SUCCESS;
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