HalpInterruptParseAcpiTables

NTSTATUS __stdcall HalpInterruptParseAcpiTables(_LOADER_PARAMETER_BLOCK *LoaderBlock, UINT64 Phase){
  unsigned int v2; 
  NTSTATUS v3; 
  _MAPIC *Table; 
  INT64 v5; 
  UINT8 v6; 
  v2 = Phase;
  v3 = 0;
  Table = (_MAPIC *)HalpAcpiGetTable((volatile INT64 *)LoaderBlock);
  if( Table && (v3 = HalpInterruptParseMadt(Table, v2, v5, v6), v3 < 0) )
  {
    HalpInterruptLastProblem = 1;
  }
  else
  {
    if( !HalpInterruptMaxProcessors )
      HalpInterruptMaxProcessors = 1;
    if( v2 == 1 )
    {
      HalpInterruptProcessorStateInitialized = 1;
      *(_WORD *)(HalpInterruptProcessorState + 12) = 257;
    }
  }
  return v3;
}

Referenced by:

HalpInitializeInterrupts