HvlSvmCreatePrQueue

NTSTATUS __fastcall HvlSvmCreatePrQueue(unsigned int a1, unsigned int a2, unsigned __int64 a3, int a4, int a5){
  int v5; 
  INT64 v6; 
  UINT64 v7; 
  int v8; 
  _QWORD v10[2]; 
  int v11; 
  int v12; 
  __int64 v13; 

  v13 = 0i64;
  v10[0] = __PAIR64__(a2, a1);
  v10[1] = a3 >> 12;
  v11 = a4;
  if( HvlpVirtualProcessorsIdentityMapped )
    v5 = a5;
  else
    v5 = (unsigned __int8)HvlpVirtualProcessorMapping[2 * a5 + 1] | ((unsigned __int8)HvlpVirtualProcessorMapping[2 * a5] << 6);
  v12 = v5;
  while( 1 )
  {
    LOWORD(v6) = HvcallFastExtended(65703i64, v10, 0x20u, 0i64, 0);
    if( (HvlpFlags & 2) == 0 || !HvlpHvStatusIsInsufficientMemory(v6) )
      break;
    HvlpHandleInsufficientMemory(v7, v6);
    if( v8 < 0 )
      return -1073741670;
  }
  return HvlpHvToNtStatus(v6);
}

Referenced by:

No references.