HalpInterruptGsiToLine

NTSTATUS __stdcall HalpInterruptGsiToLine(UINT64 Gsi, _INTERRUPT_LINE *Line){
  int v3; 
  unsigned int *LinesForGsiRange; 

  v3 = Gsi;
  LinesForGsiRange = HalpInterruptFindLinesForGsiRange(Gsi, (int)Gsi + 1);
  if( !LinesForGsiRange )
    return -1073741275;
  Line->UnitId = LinesForGsiRange[4];
  Line->Line = v3 + LinesForGsiRange[5] - LinesForGsiRange[7];
  return 0;
}

Referenced by:

ExtEnvSetVpptTarget
HalEnableInterrupt
HalpInterruptConnect
HalpInterruptEnableNmi
HalpInterruptEnablePerformanceEvents
HalpInterruptFindControllerAndLineState
HalpInterruptIsGsiValid
HalpInterruptParseMadt
HalpInterruptRemap
HalpInterruptSetDestination
HalpInterruptSetLineSpecificOverride
HalpInterruptUnmap
HalpTimerConfigureInterrupt
HalpTimerEnableHypervisorTimer
HalpTimerInitializeHypervisorTimer
HalpTimerUnmapInterrupt