Changeset 54514 in vbox for trunk/src/VBox/HostDrivers/Support
- Timestamp:
- Feb 25, 2015 7:10:57 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrvGip.cpp
r54510 r54514 746 746 } 747 747 748 #ifndef RT_OS_WINDOWS /* TEMP TEMP */749 748 750 749 /** … … 928 927 * Register a power management callback. 929 928 */ 930 pDevExt->fInvTscRefinePowerEvent = true;929 pDevExt->fInvTscRefinePowerEvent = false; 931 930 rc = RTPowerNotificationRegister(supdrvGipPowerNotificationCallback, pDevExt); 932 931 AssertRC(rc); /* ignore */ … … 946 945 pDevExt->idCpuInvarTscRefine = RTMpCpuId(); 947 946 ASMSetFlags(fEFlags); 948 949 /** @todo we need a power management callback that disables the timer if the950 * system suspends/resumes. */951 947 952 948 /* … … 998 994 } 999 995 1000 #endif /* !RT_OS_WINDOWS */1001 996 1002 997 /** … … 1883 1878 { 1884 1879 rc = supdrvGipInitMeasureTscFreq(pDevExt, pGip, true /*fRough*/); /* cannot fail */ 1885 #ifndef RT_OS_WINDOWS /* TEMP TEMP */1886 1880 supdrvGipInitStartTimerForRefiningInvariantTscFreq(pDevExt, pGip); 1887 #endif1888 1881 } 1889 1882 else
Note:
See TracChangeset
for help on using the changeset viewer.