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 - Removed debug from elf and mmap
[tpg/acess2.git]
/
Kernel
/
include
/
tpl_mm_phys_bitmap.h
diff --git
a/Kernel/include/tpl_mm_phys_bitmap.h
b/Kernel/include/tpl_mm_phys_bitmap.h
index
19ef509
..
89c942b
100644
(file)
--- a/
Kernel/include/tpl_mm_phys_bitmap.h
+++ b/
Kernel/include/tpl_mm_phys_bitmap.h
@@
-386,8
+386,8
@@
int MM_SetPageNode(tPAddr PAddr, void *Node)
int MM_GetPageNode(tPAddr PAddr, void **Node)
{
int MM_GetPageNode(tPAddr PAddr, void **Node)
{
- PAddr >>= 12;
if( !MM_GetRefCount(PAddr) ) return 1;
if( !MM_GetRefCount(PAddr) ) return 1;
+ PAddr >>= 12;
if( !MM_GetPhysAddr( (tVAddr)&gapPageNodes[PAddr] ) ) {
*Node = NULL;
if( !MM_GetPhysAddr( (tVAddr)&gapPageNodes[PAddr] ) ) {
*Node = NULL;
UCC
git Repository :: git.ucc.asn.au