summaryrefslogtreecommitdiffhomepage
path: root/dev/ZKA/HALKit/AMD64
diff options
context:
space:
mode:
authorAmlal <amlal@el-mahrouss-logic.com>2024-09-13 09:24:03 +0200
committerAmlal <amlal@el-mahrouss-logic.com>2024-09-13 09:24:03 +0200
commitbde476f31eb133df3355c2ad8abce5acda105165 (patch)
treeae50162b2d4b63f2e3d6246a08a7d4b27bfaed06 /dev/ZKA/HALKit/AMD64
parent700cfd8d6363cfbb1a949e9d09e83f81c9c90452 (diff)
META: Daily bump.
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'dev/ZKA/HALKit/AMD64')
-rw-r--r--dev/ZKA/HALKit/AMD64/HalBMPMgr.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/dev/ZKA/HALKit/AMD64/HalBMPMgr.cxx b/dev/ZKA/HALKit/AMD64/HalBMPMgr.cxx
index 1e2d697c..bdca5c9f 100644
--- a/dev/ZKA/HALKit/AMD64/HalBMPMgr.cxx
+++ b/dev/ZKA/HALKit/AMD64/HalBMPMgr.cxx
@@ -109,7 +109,7 @@ namespace Kernel
base_ptr = reinterpret_cast<VoidPtr>(reinterpret_cast<UIntPtr>(base_ptr) + (ptr_bit_set[0] != cBitMpMagic ? size : ptr_bit_set[1]));
- if ((UIntPtr)base_ptr < (base + kHandoverHeader->f_BitMapSize))
+ if ((UIntPtr)base_ptr < ((base) + kHandoverHeader->f_BitMapSize))
return nullptr;
}
@@ -121,18 +121,18 @@ namespace Kernel
{
if (!this->IsBitMap(ptr_bit_set))
{
- kcout << "Not a BMP: " << hex_number((UIntPtr)ptr_bit_set) << endl;
+ kcout << "Not a BitMap: " << hex_number((UIntPtr)ptr_bit_set) << endl;
return;
}
- kcout << "Magic Number: " << hex_number(ptr_bit_set[cBitMapMagIdx]) << endl;
+ kcout << "Magic BitMap Number: " << hex_number(ptr_bit_set[cBitMapMagIdx]) << endl;
kcout << "Allocated: " << (ptr_bit_set[cBitMapUsedIdx] ? "Yes" : "No") << endl;
- kcout << "Size of pointer (B): " << number(ptr_bit_set[cBitMapSizeIdx]) << endl;
- kcout << "Size of pointer (KIB): " << number(KIB(ptr_bit_set[cBitMapSizeIdx])) << endl;
- kcout << "Size of pointer (MIB): " << number(MIB(ptr_bit_set[cBitMapSizeIdx])) << endl;
- kcout << "Size of pointer (GIB): " << number(GIB(ptr_bit_set[cBitMapSizeIdx])) << endl;
- kcout << "Size of pointer (TIB): " << number(TIB(ptr_bit_set[cBitMapSizeIdx])) << endl;
- kcout << "Address Of BMP: " << hex_number((UIntPtr)ptr_bit_set) << endl;
+ kcout << "Size of BitMap (B): " << number(ptr_bit_set[cBitMapSizeIdx]) << endl;
+ kcout << "Size of BitMap (KIB): " << number(KIB(ptr_bit_set[cBitMapSizeIdx])) << endl;
+ kcout << "Size of BitMap (MIB): " << number(MIB(ptr_bit_set[cBitMapSizeIdx])) << endl;
+ kcout << "Size of BitMap (GIB): " << number(GIB(ptr_bit_set[cBitMapSizeIdx])) << endl;
+ kcout << "Size of BitMap (TIB): " << number(TIB(ptr_bit_set[cBitMapSizeIdx])) << endl;
+ kcout << "Address Of BitMap: " << hex_number((UIntPtr)ptr_bit_set) << endl;
}
};
} // namespace Detail