HalpHwPerfCntInitSystem
INT64 __fastcall HalpHwPerfCntInitSystem(
_HAL_INIT_PHASE HalPhase,
UINT64 ProcessorNumber,
_LOADER_PARAMETER_BLOCK *LoaderBlock){
unsigned int v3;
v3 = ProcessorNumber;
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);
HalpPerfInterruptHandlerRegistrationLock = 0i64;
return 0i64;
case HalInitPhaseBspSystemLate:
goto LABEL_6;
case HalInitPhasePnSystemLate:
HalpInitializeProfiling((unsigned int)ProcessorNumber);
LABEL_6:
HalpCompleteInitializeProfiling();
break;
}
return 0i64;
}Referenced by:
No references.