HalpPreAllocateKInterrupts
INT64 __fastcall HalpPreAllocateKInterrupts(INT64 a1){
NTSTATUS MaximumRegisteredProcessorCount;
int v2;
VOID *PoolWithTag;
__int64 v4;
if( HalpKInterruptPostPhaseZero )
return 0i64;
MaximumRegisteredProcessorCount = HalpQueryMaximumRegisteredProcessorCount(a1);
v2 = 16 * MaximumRegisteredProcessorCount;
PoolWithTag = ExAllocatePoolWithTag(
NonPagedPoolNx,
(unsigned int)(4608 * MaximumRegisteredProcessorCount),
0x206C6148ui64);
v4 = (__int64)PoolWithTag;
if( PoolWithTag )
{
memset((INT64)PoolWithTag, 0i64);
HalpKInterruptPostPhaseZero = v4;
HalpKInterruptPostPhaseZeroTotal = v2;
return 0i64;
}
HalpInterruptLastProblem = 30;
return 3221225495i64;
}Referenced by:
No references.