Changeset 8911 in vbox for trunk/src/VBox/VMM
- Timestamp:
- May 19, 2008 10:08:21 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/TM.cpp
r8155 r8911 540 540 * @returns true if it has, false if it hasn't. 541 541 * 542 * @remark This test doesn't bother with very old CPUs that do esn't do power542 * @remark This test doesn't bother with very old CPUs that don't do power 543 543 * management or any other stuff that might influence the TSC rate. 544 544 * This isn't currently relevant. … … 565 565 if (uEAX >= 0x80000007) 566 566 { 567 PSUPGLOBALINFOPAGE pGip = g_pSUPGlobalInfoPage; 568 567 569 ASMCpuId(0x80000007, &uEAX, &uEBX, &uECX, &uEDX); 568 if (uEDX & RT_BIT(8) /* TscInvariant */) 570 if ( (uEDX & RT_BIT(8)) /* TscInvariant */ 571 && pGip->u32Mode == SUPGIPMODE_SYNC_TSC /* no fixed tsc if the gip timer is in async mode */) 569 572 return true; 570 573 }
Note:
See TracChangeset
for help on using the changeset viewer.