Changeset 23758 in vbox
- Timestamp:
- Oct 14, 2009 12:21:21 PM (15 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/CPUM.cpp
r23722 r23758 297 297 &pCPUM->aGuestCpuIdCentaur[i].eax, &pCPUM->aGuestCpuIdCentaur[i].ebx, 298 298 &pCPUM->aGuestCpuIdCentaur[i].ecx, &pCPUM->aGuestCpuIdCentaur[i].edx); 299 300 299 301 300 /* … … 397 396 //| X86_CPUID_AMD_FEATURE_ECX_WDT 398 397 | 0; 398 399 CFGMR3QueryBoolDef(CFGMR3GetChild(CFGMR3GetRoot(pVM), "CPUM"), "SyntheticCpu", &pCPUM->fSyntheticCpu, false); 400 if (pCPUM->fSyntheticCpu) 401 { 402 /* AMD only; shared feature bits are set dynamically. */ 403 pCPUM->aGuestCpuIdExt[1].edx = 0; 404 pCPUM->aGuestCpuIdExt[1].ecx = 0; 405 406 /** @todo fill in the rest of the cpu leaves. */ 407 } 399 408 400 409 /* -
trunk/src/VBox/VMM/CPUMInternal.h
r21252 r23758 298 298 /** Have we entered rawmode? */ 299 299 bool fRawEntered; 300 uint8_t abPadding[3 + (HC_ARCH_BITS == 64) * 4]; 300 /** Synthetic CPU type? */ 301 bool fSyntheticCpu; 302 uint8_t abPadding[2 + (HC_ARCH_BITS == 64) * 4]; 301 303 302 304 /** The standard set of CpuId leafs. */ -
trunk/src/VBox/VMM/CPUMInternal.mac
r18927 r23758 71 71 ; entered rawmode? 72 72 .fRawEntered resb 1 73 .fSyntheticCpu resb 1 73 74 %if RTHCPTR_CB == 8 74 .abPadding resb 775 .abPadding resb 6 75 76 %else 76 .abPadding resb 377 .abPadding resb 2 77 78 %endif 78 79
Note:
See TracChangeset
for help on using the changeset viewer.