PpInitSystem
UINT8 __stdcall PpInitSystem(){
if( (_DWORD)InitializationPhase )
{
if( (_DWORD)InitializationPhase != 1 )
KeBugCheckEx(0x33u, (PVOID)2, (PVOID)(unsigned int)InitializationPhase, 0i64, 0i64);
}
else
{
ExInitializeResourceLite((INT64)&PnpReplaceEvent + 6688);
Mutex.Owner = 0i64;
Mutex.Contention = 0;
*(_DWORD *)&Mutex.gap14[8] = 0;
*(_QWORD *)&Mutex.gap14[20] = &Mutex.gap14[12];
*(_QWORD *)&Mutex.gap14[12] = &Mutex.gap14[12];
Mutex.Count = 1;
*(_WORD *)&Mutex.gap14[4] = 1;
Mutex.gap14[6] = 6;
RtlInitializeGenericTableAvl(
(PRTL_AVL_TABLE)((char *)&PnpReplaceEvent + 8160),
(PRTL_AVL_COMPARE_ROUTINE)PnpCompareInstancePath,
(PRTL_AVL_ALLOCATE_ROUTINE)PnpAllocateGenericTableEntry,
(PRTL_AVL_FREE_ROUTINE)CMFFreeFn,
0i64);
}
return 1;
}Referenced by:
InitBootProcessor