HalpHwPerfCntInitSystem

NTSTATUS __stdcall HalpHwPerfCntInitSystem(
        _HAL_INIT_PHASE HalPhase,
        _LOADER_PARAMETER_BLOCK *LoaderBlock,
        _LOADER_PARAMETER_BLOCK *a3){
  unsigned int v3; 

  v3 = (unsigned int)LoaderBlock;
  switch( HalPhase )
  {
    case HalInitPhaseBspSystemEarlyProcReady:
      off_140C007D0[0] = (__int64(__fastcall *)())HalpAllocatePmcCounterSet;
      off_140C007E0[0] = (__int64(__fastcall *)())HalpFreePmcCounterSet;
      off_140C007D8[0] = (__int64(__fastcall *)())HalpCollectPmcCounters;
      HalpInitializePmcCounterSetInfo();
      HalpInitializeProfiling(v3);
      qword_140C4AD10 = 0i64;
      return 0;
    case HalInitPhaseBspSystemLate:
      goto LABEL_6;
    case HalInitPhasePnSystemLate:
      HalpInitializeProfiling((unsigned int)LoaderBlock);
LABEL_6:
      HalpCompleteInitializeProfiling();
      break;
  }
  return 0;
}

Referenced by:

No references.