HalpRegisterPeiErrorSource

NTSTATUS __stdcall HalpRegisterPeiErrorSource(VOID *ServiceContext){
  unsigned __int64 v3; 
  UINT64 v4; 
  INT64 v5; 
  INT64 v6[2]; 
  _KINTERRUPT *v7; 

  v7 = 0i64;
  if( !ServiceContext )
    return -1073741811;
  v3 = 0i64;
  if( KeActiveProcessors.Count )
    v3 = KeActiveProcessors.Bitmap[0];
  v4 = *((unsigned int *)ServiceContext + 40);
  LODWORD(v5) = 7;
  v6[1] = 0i64;
  v6[0] = v3;
  return HalpInterruptConnect(
           (INT64)v6,
           v4,
           0xE4ui64,
           0xFu,
           InterruptActiveHigh,
           LevelSensitive,
           (UINT64)HalpPeiInterruptHandler,
           (UINT64)ServiceContext,
           0i64,
           0xFu,
           v5,
           &v7);
}

Referenced by:

HalpInitializeGenericErrorSource