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/x86 - Added node display to DumpTables, fixed bug in GetPageNode
[tpg/acess2.git]
/
Kernel
/
arch
/
x86
/
mm_phys.c
diff --git
a/Kernel/arch/x86/mm_phys.c
b/Kernel/arch/x86/mm_phys.c
index
fc71bd9
..
b84ceb6
100644
(file)
--- a/
Kernel/arch/x86/mm_phys.c
+++ b/
Kernel/arch/x86/mm_phys.c
@@
-530,6
+530,7
@@
int MM_GetPageNode(tPAddr PAddr, void **Node)
if( MM_GetRefCount(PAddr) == 0 ) {
return 1;
}
+ PAddr /= PAGE_SIZE;
if( !MM_GetPhysAddr( (tVAddr) &gaPageNodes[PAddr] ) ) {
*Node = NULL;
return 0;
UCC
git Repository :: git.ucc.asn.au