Changeset 26652 in vbox
- Timestamp:
- Feb 19, 2010 1:55:52 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/CPUM.cpp
r26651 r26652 818 818 Assert(pVCpu->cpum.s.pHyperCoreRC != NIL_RTRCPTR); 819 819 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 number823 * 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; 828 828 } 829 829
Note:
See TracChangeset
for help on using the changeset viewer.