HalpIsEFIRuntimeActive
INT64 __fastcall HalpIsEFIRuntimeActive(){
INT64 result;
unsigned int v1;
unsigned int v2;
__int64 v3;
result = HalQueryMaximumProcessorCount();
v1 = 0;
v2 = result;
if( (_DWORD)result )
{
v3 = 0i64;
while( 1 )
{
result = *(_QWORD *)(v3 + HalpInterruptProcessorPcr);
if( result )
{
result = *(unsigned int *)(result + 224);
if( (result & 0x1FF) != 0 )
break;
}
++v1;
v3 += 8i64;
if( v1 >= v2 )
goto LABEL_6;
}
LOBYTE(result) = 1;
}
else
{
LABEL_6:
LOBYTE(result) = 0;
}
return result;
}Referenced by:
No references.