PfSnUpdatePrefetcherFlags

UINT64 __stdcall PfSnUpdatePrefetcherFlags(UINT64 Flags, UINT64 SetFlag){
  int v2; 
  int v3; 
  unsigned int v4; 
  unsigned __int8 v5; 
  unsigned __int64 v6; 
  v2 = Flags;
  v3 = SetFlag;
  KeAcquireSpinLockRaiseToDpc(&SpinLock, SetFlag);
  v4 = dword_140C50290;
  v6 = v5;
  if( v3 )
    dword_140C50290 |= v2;
  else
    dword_140C50290 &= ~v2;
  KxReleaseSpinLock(&SpinLock);
  __writecr8(v6);
  return v4;
}

Referenced by:

PfSnBeginBootPhase
PfSnEnablePrefetcherTimerRoutine