VirtualBox

Changeset 66339 in vbox


Ignore:
Timestamp:
Mar 29, 2017 3:20:12 PM (8 years ago)
Author:
vboxsync
Message:

DevACPI: don't enable the 64-bit root prefetch window if max < min

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevACPI.cpp

    r65858 r66339  
    31393139    if (pThis->fPciPref64Enabled)
    31403140    {
    3141         /* Activate MEM4. See also DevPciIch9.cpp / ich9pciFakePCIBIOS() / uPciBiosMmio64 */
    3142         pThis->u64PciPref64Min = _4G + cbAbove4GB;
    3143         LogRel(("ACPI: enabling 64-bit prefetch root bus resource %#018RX64..%#018RX64\n",
    3144                pThis->u64PciPref64Min, pThis->u64PciPref64Max-1));
     3141        uint64_t const u64PciPref64Min = _4G + cbAbove4GB;
     3142        if (pThis->u64PciPref64Max > u64PciPref64Min)
     3143        {
     3144            /* Activate MEM4. See also DevPciIch9.cpp / ich9pciFakePCIBIOS() / uPciBiosMmio64 */
     3145            pThis->u64PciPref64Min = u64PciPref64Min;
     3146            LogRel(("ACPI: enabling 64-bit prefetch root bus resource %#018RX64..%#018RX64\n",
     3147                   u64PciPref64Min, pThis->u64PciPref64Max-1));
     3148        }
     3149        else
     3150            LogRel(("ACPI: NOT enabling 64-bit prefetch root bus resource (min/%#018RX64 >= max/%#018RX64)\n",
     3151                   u64PciPref64Min, pThis->u64PciPref64Max-1));
    31453152    }
    31463153    if (cbBelow4GB > UINT32_C(0xffe00000)) /* See MEM3. */
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