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
Modules/RTL8139 - Fixed bug if BAR is invalid
[tpg/acess2.git]
/
Kernel
/
arch
/
x86_64
/
mm_phys.c
diff --git
a/Kernel/arch/x86_64/mm_phys.c
b/Kernel/arch/x86_64/mm_phys.c
index
064622f
..
c2c215b
100644
(file)
--- a/
Kernel/arch/x86_64/mm_phys.c
+++ b/
Kernel/arch/x86_64/mm_phys.c
@@
-183,7
+183,7
@@
void MM_InitPhys_Multiboot(tMBoot_Info *MBoot)
paddr = ent->Base;
}
paddr = ent->Base;
}
- Log("
MM_InitPhys_Multiboot: paddr=0x%x, avail=%i
", paddr, avail);
+ Log("
MM_InitPhys_Multiboot: paddr=0x%x, avail=0x%x pg
", paddr, avail);
// Map
while( todo && avail --)
// Map
while( todo && avail --)
@@
-509,7
+509,7
@@
void MM_RefPhys(tPAddr PAddr)
return ;
}
// Fill block
return ;
}
// Fill block
- Log("Allocated references for %P-%P", page_base << 12, (page_base+pages_per_refpage
-1
)<<12);
+ Log("Allocated references for %P-%P", page_base << 12, (page_base+pages_per_refpage)<<12);
for( i = 0; i < pages_per_refpage; i ++ ) {
int pg = page_base + i;
gaiPageReferences[pg] = !!PAGE_ALLOC_TEST(pg);
for( i = 0; i < pages_per_refpage; i ++ ) {
int pg = page_base + i;
gaiPageReferences[pg] = !!PAGE_ALLOC_TEST(pg);
UCC
git Repository :: git.ucc.asn.au