VirtualBox

Changeset 26652 in vbox


Ignore:
Timestamp:
Feb 19, 2010 1:55:52 PM (15 years ago)
Author:
vboxsync
Message:

Compile fix

File:
1 edited

Legend:

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

    r26651 r26652  
    818818        Assert(pVCpu->cpum.s.pHyperCoreRC != NIL_RTRCPTR);
    819819
    820         /*
    821          * Workaround for missing cpuid(0) patches when leaf 4 returns GuestCpuIdDef:
    822          * If we miss to patch a cpuid(0).eax then Linux tries to determine the number
    823          * of processors from (cpuid(4).eax >> 26) + 1.
    824          */
    825         if (!HWACCMR3IsAllowed(pVM))
    826             pCPUM->aGuestCpuIdStd[4].eax = 0;
    827     }
     820    }
     821    /*
     822     * Workaround for missing cpuid(0) patches when leaf 4 returns GuestCpuIdDef:
     823     * If we miss to patch a cpuid(0).eax then Linux tries to determine the number
     824     * of processors from (cpuid(4).eax >> 26) + 1.
     825     */
     826    if (!HWACCMR3IsAllowed(pVM))
     827        pVM->cpum.s.aGuestCpuIdStd[4].eax = 0;
    828828}
    829829
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