HalpGetCpuInfo

CHAR __stdcall HalpGetCpuInfo(CHAR *a1, UINT8 *a2, UINT8 *a3, UINT8 *a4){
  struct _KPRCB *CurrentPrcb; 

  CurrentPrcb = KeGetCurrentPrcb();
  if( !CurrentPrcb->CpuID )
    return 0;
  if( a1 )
    *a1 = CurrentPrcb->CpuType;
  if( a2 )
    *a2 = CurrentPrcb->CpuStepping;
  if( a3 )
    *a3 = CurrentPrcb->CpuModel;
  if( a4 )
    *a4 = CurrentPrcb->CpuVendor;
  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