PopFxPlatformStateAvailable
VOID __stdcall PopFxPlatformStateAvailable(UINT64 StateIndex, UINT8 Available){
int v3;
v3 = StateIndex;
PpmIdleCsVetoAccountingDeviceUpdate(StateIndex, Available);
if( v3 == *(_DWORD *)PpmPlatformStates - 1 )
{
if( Available )
{
PopFxSetDripsBlockedByDeviceActivity(0);
PopIdleWakeNotifyDevicesActive(0);
PopUpdateNonAttributedCpuTimeReference(0);
PopDeepSleepClearDisengageReason(PopDeepSleepDisengageReasonDeviceBlockingDrips);
}
else
{
PopFxSetDripsBlockedByDeviceActivity(1);
PopIdleWakeNotifyDevicesActive(1u);
PopUpdateNonAttributedCpuTimeReference(1u);
PopDeepSleepSetDisengageReason(PopDeepSleepDisengageReasonDeviceBlockingDrips);
}
}
}Referenced by:
PopPepUpdateIdleStateRefCount