void kmain(Uint MbMagic, void *MbInfoPtr)
{
tMBoot_Info *mbInfo;
+
+ LogF("Acess2 x86_64 v"EXPAND_STR(KERNEL_VERSION)"\n");
+ LogF(" Build %i, Git Hash %s\n", BUILD_NUM, gsGitHash);
Desctab_Init();
// Adjust Multiboot structure address
mbInfo = (void*)( (Uint)MbInfoPtr + KERNEL_BASE );
gsBootCmdLine = (char*)( (Uint)mbInfo->CommandLine + KERNEL_BASE);
- Log("gsBootCmdLine = '%s'", gsBootCmdLine);
-
MM_InitPhys_Multiboot( mbInfo ); // Set up physical memory manager
break;
default:
Heap_Install();
*(Uint16*)(KERNEL_BASE|0xB8000) = 0x1F00|'E';
- Log_Log("Arch", "Starting threading...");
Threads_Init();
Time_Setup();
*(Uint16*)(KERNEL_BASE|0xB8000) = 0x1F00|'F';
- Log_Log("Arch", "Starting VFS...");
// Load Virtual Filesystem
+ Log_Log("Arch", "Starting VFS...");
VFS_Init();
*(Uint16*)(KERNEL_BASE|0xB8000) = 0x1F00|'Z';