VirtualBox

Changeset 54750 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 13, 2015 4:40:30 PM (10 years ago)
Author:
vboxsync
Message:

CPUM: Increase the max cpuid leaves a lot. Fixed incorrect sanitizing of leaf 4.

File:
1 edited

Legend:

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

    r54749 r54750  
    726726    if (!fHWVirtExEnabled)
    727727    {
    728         Assert(   (pVM->cpum.s.aGuestCpuIdPatmStd[4].uEax & UINT32_C(0x0000ffff)) == 0
     728        Assert(   (pVM->cpum.s.aGuestCpuIdPatmStd[4].uEax & UINT32_C(0xffffc000)) == 0
    729729               || pVM->cpum.s.aGuestCpuIdPatmStd[0].uEax < 0x4);
    730         pVM->cpum.s.aGuestCpuIdPatmStd[4].uEax &= UINT32_C(0x0000ffff);
     730        pVM->cpum.s.aGuestCpuIdPatmStd[4].uEax &= UINT32_C(0x00003fff);
    731731    }
    732732}
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