HalpBlkAllocateShadowData
INT64 __stdcall HalpBlkAllocateShadowData(){
unsigned int v0;
PSTR MemoryInternal;
unsigned int v2;
INT64 v3;
__int64 v4;
bool v5;
v0 = 0;
MemoryInternal = HalpMmAllocateMemoryInternal((unsigned int)(8 * HalpInterruptBlockedProcessors), MmCached);
HalpBlkPcr = (__int64)MemoryInternal;
if( !MemoryInternal )
return(unsigned int)-1073741801;
memset((INT64)MemoryInternal, 0i64);
v2 = 0;
if( HalpInterruptBlockedProcessors )
{
while( 1 )
{
v3 = HalpBlkAllocateAndShadowMemory(0i64, 14i64);
if( !v3 )
break;
v4 = v2++;
v5 = v2 < HalpInterruptBlockedProcessors;
*(_QWORD *)(HalpBlkPcr + 8 * v4) = v3;
if( !v5 )
return v0;
}
return(unsigned int)-1073741801;
}
return v0;
}Referenced by:
HalpBlkInitializeVirtualAddressSpace