VirtualBox

Changeset 26664 in vbox for trunk/src


Ignore:
Timestamp:
Feb 19, 2010 3:16:39 PM (15 years ago)
Author:
vboxsync
Message:

CPUM: use symbolic constants for wait extensions

File:
1 edited

Legend:

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

    r26662 r26664  
    628628    rc = CFGMR3QueryBoolDef(pCpumCfg, "MWaitExtensions", &fMWaitExtensions, false); AssertRCReturn(rc, rc);
    629629    if (fMWaitExtensions)
    630         pCPUM->aGuestCpuIdStd[5].ecx = 3;
     630        pCPUM->aGuestCpuIdStd[5].ecx = X86_CPUID_MWAIT_ECX_EXT | X86_CPUID_MWAIT_ECX_BREAKIRQIF0;
    631631
    632632    /*
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