VirtualBox

Changeset 88620 in vbox for trunk/src/VBox/Devices/Bus


Ignore:
Timestamp:
Apr 21, 2021 3:14:16 AM (4 years ago)
Author:
vboxsync
Message:

AMD IOMMU: bugref:9654 Build fix. We really need to enable this warning on Windows build too...

File:
1 edited

Legend:

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

    r88619 r88620  
    47784778    uint64_t uResult;
    47794779    VBOXSTRICTRC rcStrict = iommuAmdRegisterRead(pDevIns, off, &uResult);
    4780     if (cb == 8)
    4781         *(uint64_t *)pv = uResult;
    4782     else
    4783         *(uint32_t *)pv = (uint32_t)uResult;
     4780    if (rcStrict == VINF_SUCCESS)
     4781    {
     4782        if (cb == 8)
     4783            *(uint64_t *)pv = uResult;
     4784        else
     4785            *(uint32_t *)pv = (uint32_t)uResult;
     4786    }
    47844787
    47854788    return rcStrict;
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