// Load Virtual Filesystem
VFS_Init();
- Log("Loading Modules...");
+ Log("Loading Modules... (%i of them)", MbInfo->ModuleCount);
// Load initial modules
mods = (void*)( MbInfo->Modules + KERNEL_BASE );
- for(i=0;i<MbInfo->ModuleCount;i++)
+ Log("MbInfo = %p", MbInfo);
+ for( i = 0; i < MbInfo->ModuleCount; i ++ )
{
// Adjust into higher half
mods[i].Start += KERNEL_BASE;
{
Warning("Unable to load module\n");
}
+ Log("Done. (MbInfo = %p)", MbInfo);
}
// Pass on to Independent Loader
System_Init( (char*)(MbInfo->CommandLine + KERNEL_BASE) );
// Sleep forever (sleeping beauty)
- for(;;) Threads_Sleep();
+ for(;;)
+ Threads_Sleep();
return 0;
}