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/arm7 - Fiddling, still having issues with VMM
[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
6955505
..
fcc8547
100644
(file)
--- a/
Kernel/arch/x86_64/mm_phys.c
+++ b/
Kernel/arch/x86_64/mm_phys.c
@@
-249,8
+249,8
@@
void MM_InitPhys_Multiboot(tMBoot_Info *MBoot)
if(base & 63) {
Uint64 val = -1LL << (base & 63);
gaSuperBitmap[base / 64] &= ~val;
if(base & 63) {
Uint64 val = -1LL << (base & 63);
gaSuperBitmap[base / 64] &= ~val;
-
size -= (base & 63);
-
base += 64 - (base & 63);
+
//
size -= (base & 63);
+
//
base += 64 - (base & 63);
}
}
}
}
@@
-403,9
+403,9
@@
tPAddr MM_AllocPhysRange(int Pages, int MaxBits)
{
// Oops. ok, let's do an expensive check (scan down the list
// until a free range is found)
{
// Oops. ok, let's do an expensive check (scan down the list
// until a free range is found)
-
nFree = 1;
-
addr = giPhysRangeLast[ rangeID ];
- // TODO
+
//
nFree = 1;
+
//
addr = giPhysRangeLast[ rangeID ];
+ // TODO
: Expensive Check
Mutex_Release(&glPhysicalPages);
// TODO: Page out
// ATM. Just Warning
Mutex_Release(&glPhysicalPages);
// TODO: Page out
// ATM. Just Warning
UCC
git Repository :: git.ucc.asn.au