KiRequestSoftwareInterrupt

VOID __fastcall KiRequestSoftwareInterrupt(_KPRCB *CurrentPrcb, CHAR a2){
  if( a2 != 2 )
    goto LABEL_5;
  if( !CurrentPrcb )
    CurrentPrcb = KeGetCurrentPrcb();
  if( CurrentPrcb->NestingLevel )
  {
    CurrentPrcb->InterruptRequest = 1;
  }
  else
  {
LABEL_5:
    LOBYTE(CurrentPrcb) = a2;
    HalRequestSoftwareInterrupt((UINT64)CurrentPrcb);
  }
}

Referenced by:

KeAccumulateTicks
KeBoostPriorityThread
KeCpuSetReportParkedProcessors
KeRecomputeCpuSetAffinityProcess
KeRemoveQueueEx
KeSetAffinityThread
KeSetBasePriorityThread
KeSetCpuSetsProcess
KeSetLegacyAffinityThread
KeSetSchedulingGroupRankBias
KeSetSelectedCpuSetsThread
KeSetThreadSchedulerAssist
KeTransitionProcessorParkState
KeUpdateThreadCpuSets
KiAbForceProcessLockEntry
KiAbThreadUnboostCpuPriority
KiCheckForThreadDispatch
KiExitDispatcher
KiFlushQueuedDpcsWorker
KiProcessDeferredReadyList
KiQueueReadyThread
KiReadyOutSwappedThreads
KiRequestTimer2Expiration
KiSetHeteroPolicyThread
KiUpdateVpBackingThreadPriorityDpcRoutine
PsImpersonateContainerOfThread