UINT8 __stdcall IoInitSystem(_LOADER_PARAMETER_BLOCK *LoaderBlock){
if( !IoInitSystemPreDrivers(LoaderBlock) )
return 0;
WerLiveKernelInitSystem();
if( !(unsigned int)IopInitializeSystemDrivers() )
{
if( HeadlessGlobals && HeadlessGlobals[1] )
HdlspKernelAddLogEntry(0xBui64, 0i64);
IopInitFailCode = 8;
return 0;
}
if( !PnpBootOptions )
PnpSerializeBoot();
if( ViVerifierEnabled )
VfNotifyVerifierOfEvent(0i64);
IopRegistryInitializeCallbacks();
return 1;
}