HalpStartPccCommand

VOID __stdcall HalpStartPccCommand(INT64 a1, INT64 a2){
  INT64 v2; 
  INT64 v3; 
  int v4; 
  _BYTE DestinationString[144]; 

  memset(DestinationString, 0, sizeof(DestinationString));
  RtlInitUnicodeString((PUNICODE_STRING)DestinationString, L"\\DosDevices\\ACPI_ROOT_OBJECT");
  if( !HalpUpdateCoolingPacket(0i64) )
  {
    LOBYTE(v2) = *(_BYTE *)(HalpAcpiMpst + 36);
    HalpAcquirePccInterface(v2, (_PCC_INTERFACE_STANDARD *)DestinationString, (INT64)&DestinationString[16], v3);
    if( v4 < 0 )
      return;
    HalpUpdateCoolingPacket((__int64)&DestinationString[16]);
  }
  if( *(&CmpDummyThreadEvent + 508) )
    (*(&CmpDummyThreadEvent + 503))(*(&CmpDummyThreadEvent + 499));
}

Referenced by:

HalpSendPccCommand