HalpIsCmciImplementedAMD
INT8 __stdcall HalpIsCmciImplementedAMD(){
__int64 i;
INT64 v1;
unsigned __int64 v2;
unsigned int v3;
unsigned int v4;
__int64 v5;
for( i = *(_QWORD *)&KeGetPcr()->HalReserved[6]; ; i = *(_QWORD *)(i + 176) )
{
if( !i )
return 0;
v1 = *(_QWORD *)(i + 164);
if( !byte_140C50568[0] )
{
v2 = __readmsr(0x179u);
byte_140C50568[0] = v2;
}
v3 = byte_140C50568[0];
v4 = 0;
if( byte_140C50568[0] )
break;
LABEL_8:
;
}
while( 1 )
{
LODWORD(v5) = HalpWheaReadMsrMisc(v1, v4);
if( v5 < 0 && (v5 & 0x6000000000000000i64) == 0x4000000000000000i64 )
return 1;
if( ++v4 >= v3 )
goto LABEL_8;
}
}Referenced by:
HalpCmciInitProcessor