VirtualBox

Changeset 102805 in vbox for trunk


Ignore:
Timestamp:
Jan 10, 2024 3:52:33 AM (13 months ago)
Author:
vboxsync
Message:

VMM/CPUM: bugref:10498 Comment nit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/CPUM.cpp

    r102804 r102805  
    33693369    if (pMtrrMap->idxMtrr < pMtrrMap->cMtrrs)
    33703370    {
     3371        /*
     3372         * We must ensure the physical-address does not exceed the maximum guest-physical address width.
     3373         * Otherwise, the MTRR physical mask computation gets totally busted rather than returning 0 to
     3374         * indicate such mapping is impossible.
     3375         */
    33713376        RTGCPHYS const GCPhysLastMax = RT_BIT_64(pVM->cpum.s.GuestFeatures.cMaxPhysAddrWidth) - 1U;
    33723377        if (GCPhysLast <= GCPhysLastMax)
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