git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Kernel - Fixing bugs exposed with `qemu -nographic`
[tpg/acess2.git]
/
KernelLand
/
Kernel
/
arch
/
x86
/
mm_phys.c
diff --git
a/KernelLand/Kernel/arch/x86/mm_phys.c
b/KernelLand/Kernel/arch/x86/mm_phys.c
index
49d7a1a
..
bd1cafc
100644
(file)
--- a/
KernelLand/Kernel/arch/x86/mm_phys.c
+++ b/
KernelLand/Kernel/arch/x86/mm_phys.c
@@
-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)",
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