VirtualBox

Changeset 10570 in vbox for trunk/src/VBox/VMM/CPUM.cpp


Ignore:
Timestamp:
Jul 12, 2008 4:01:08 PM (16 years ago)
Author:
vboxsync
Message:

Extra check for the monitor/mwait data

File:
1 edited

Legend:

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

    r10569 r10570  
    377377     * Safe to expose
    378378     */
     379    if (!(pCPUM->aGuestCpuIdStd[1].ecx & X86_CPUID_FEATURE_ECX_MONITOR))
     380        pCPUM->aGuestCpuIdStd[5].eax = pCPUM->aGuestCpuIdStd[5].ebx = 0;
     381
    379382    pCPUM->aGuestCpuIdStd[5].ecx = pCPUM->aGuestCpuIdStd[5].edx = 0;
    380383
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