HalpGetCpuInfo
CHAR __fastcall HalpGetCpuInfo(CHAR *a1, UINT8 *a2, UINT8 *a3, UINT8 *a4){
struct _KPRCB *CurrentPrcb;
CurrentPrcb = KeGetCurrentPrcb();
if( !*((_BYTE *)CurrentPrcb + 65) )
return 0;
if( a1 )
*a1 = *((_BYTE *)CurrentPrcb + 64);
if( a2 )
*a2 = *((_BYTE *)CurrentPrcb + 66);
if( a3 )
*a3 = *((_BYTE *)CurrentPrcb + 67);
if( a4 )
*a4 = *((_BYTE *)CurrentPrcb + 141);
return 1;
}Referenced by:
HalpCmciInitProcessor
HalpCmciPollProcessor
HalpCmciResetState
HalpCmciSetProcessorConfig
HalpDpPostReplaceInitialization
HalpErrataApplyPerProcessor
HalpGetCpuVendor
HalpInterruptIsDeferredErrorSupported
HalpInterruptIsMsiSupported
HalpIommuGetPageTableType
HalpIsCmciImplemented
HalpIsLmceSupported
HalpLbrInitialize
HalpMcaInitializeErrorSection
HalpMcaReportError
HalpMcaSetFeatureFlags
HalpPiix4Detect
HalpProcGetFeatureBits
HalpProcIsSmtDisabled
HalpSetSystemInformation
HalpTimerConfigureQpcBypass
HalpTscCheckAdjustMsrCapability