VirtualBox

Ignore:
Timestamp:
Feb 25, 2015 7:10:57 PM (10 years ago)
Author:
vboxsync
Message:

SUPDrvGip.cpp: Re-enabled the TSC frequency refinement timer for windows now that RTTimerStop no longer does stupid stuff like trying to flush the DPC queue.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPDrvGip.cpp

    r54510 r54514  
    746746}
    747747
    748 #ifndef RT_OS_WINDOWS   /* TEMP TEMP */
    749748
    750749/**
     
    928927     * Register a power management callback.
    929928     */
    930     pDevExt->fInvTscRefinePowerEvent = true;
     929    pDevExt->fInvTscRefinePowerEvent = false;
    931930    rc = RTPowerNotificationRegister(supdrvGipPowerNotificationCallback, pDevExt);
    932931    AssertRC(rc); /* ignore */
     
    946945    pDevExt->idCpuInvarTscRefine     = RTMpCpuId();
    947946    ASMSetFlags(fEFlags);
    948 
    949 /** @todo we need a power management callback that disables the timer if the
    950  *        system suspends/resumes. */
    951947
    952948    /*
     
    998994}
    999995
    1000 #endif /* !RT_OS_WINDOWS */
    1001996
    1002997/**
     
    18831878    {
    18841879        rc = supdrvGipInitMeasureTscFreq(pDevExt, pGip, true /*fRough*/); /* cannot fail */
    1885 #ifndef RT_OS_WINDOWS  /* TEMP TEMP */
    18861880        supdrvGipInitStartTimerForRefiningInvariantTscFreq(pDevExt, pGip);
    1887 #endif
    18881881    }
    18891882    else
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette