Kernel - Fixing bugs exposed with `qemu -nographic`
[tpg/acess2.git] / KernelLand / Kernel / arch / x86 / mm_phys.c
index 49d7a1a..bd1cafc 100644 (file)
@@ -118,7 +118,7 @@ void MM_Install(tMBoot_Info *MBoot)
        gaPageReferences = (void*)MM_REFCOUNT_BASE;
 
        Log_Log("PMem", "Physical memory set up (%lli pages of ~%lli MiB used)",
-               giPhysAlloc, (giTotalMemorySize*4)/1024
+               giPhysAlloc, (giTotalMemorySize*PAGE_SIZE)/(1024*1024)
                );
 }
 

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