Changeset 55116 in vbox
- Timestamp:
- Apr 7, 2015 2:02:09 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/VMM/VMMR3/TM.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/TM.cpp
r55019 r55116 818 818 * @returns true if it has, false if it hasn't. 819 819 * 820 * @remark This test doesn't bother with very old CPUs that don't do power820 * @remarks This test doesn't bother with very old CPUs that don't do power 821 821 * management or any other stuff that might influence the TSC rate. 822 822 * This isn't currently relevant. … … 883 883 * as the AMD test above. 884 884 */ 885 /** @todo use ASMGetCpuFamily() and ASMGetCpuModel() here. */ 885 886 ASMCpuId(1, &uEAX, &uEBX, &uECX, &uEDX); 886 887 unsigned uModel = (uEAX >> 4) & 0x0f; … … 902 903 * Eden X2 and QuadCore. 903 904 */ 905 /** @todo use ASMGetCpuFamily() and ASMGetCpuModel() here. */ 904 906 ASMCpuId(1, &uEAX, &uEBX, &uECX, &uEDX); 905 907 unsigned uStepping = (uEAX & 0x0f); … … 1048 1050 */ 1049 1051 pVM->tm.s.fTSCModeSwitchAllowed &= tmR3HasFixedTSC(pVM) && GIMIsEnabled(pVM) && HMIsEnabled(pVM); 1052 LogRel(("TM: fTSCModeSwitchAllowed=%RTbool\n", pVM->tm.s.fTSCModeSwitchAllowed)); 1050 1053 return rc; 1051 1054 } … … 3137 3140 } 3138 3141 else 3139 LogRel(("TM: Host is not suitable for using TSC mode (%d -%s). Request to change TSC mode ignored.\n",3142 LogRel(("TM: Host/VM is not suitable for using TSC mode %d (%s). Request to change TSC mode ignored.\n", 3140 3143 TMTSCMODE_REAL_TSC_OFFSET, tmR3GetTSCModeNameEx(TMTSCMODE_REAL_TSC_OFFSET))); 3141 3144 pVM->tm.s.fParavirtTscEnabled = true;
Note:
See TracChangeset
for help on using the changeset viewer.

