case MULTIBOOT_MAGIC:
// Adjust Multiboot structure address
mbInfo = (void*)( (Uint)MbInfoPtr + KERNEL_BASE );
- gsBootCmdLine = (char*)(mbInfo->CommandLine + KERNEL_BASE);
+ gsBootCmdLine = (char*)( (Uint)mbInfo->CommandLine + KERNEL_BASE);
+ Log("gsBootCmdLine = '%s'", gsBootCmdLine);
MM_InitPhys_Multiboot( mbInfo ); // Set up physical memory manager
break;
return ;
}
+ Log("gsBootCmdLine = '%s'", gsBootCmdLine);
+
*(Uint16*)(0xB8000) = 0x1F00|'D';
Heap_Install();
// Load Virtual Filesystem
VFS_Init();
- *(Uint16*)(0xB8000) = 0x1F00|'G';
+ *(Uint16*)(0xB8000) = 0x1F00|'Z';
+ *(Uint16*)(0xB8002) = 0x1F00|'Z';
+ *(Uint16*)(0xB8004) = 0x1F00|'Z';
+ *(Uint16*)(0xB8006) = 0x1F00|'Z';
// Pass on to Independent Loader
Log_Log("Arch", "Starting system");