Kernel - API Change - Proc_SpawnWorker return thread pointer
[tpg/acess2.git] / KernelLand / Kernel / arch / x86 / main.c
index af9007d..a2932c1 100644 (file)
@@ -54,7 +54,7 @@ int kmain(Uint MbMagic, void *MbInfoPtr)
                gsBootCmdLine = (char*)(mbInfo->CommandLine + KERNEL_BASE);
 
                // Adjust Multiboot structure address
-               mbInfo = (void*)( (Uint)MbInfoPtr + KERNEL_BASE );
+               mbInfo = (void*)( (tVAddr)MbInfoPtr + KERNEL_BASE );
 
                nPMemMapEnts = Multiboot_LoadMemoryMap(mbInfo, KERNEL_BASE, pmemmap, MAX_PMEMMAP_ENTS,
                        KERNEL_LOAD, (tVAddr)&gKernelEnd - KERNEL_BASE);

UCC git Repository :: git.ucc.asn.au