From bde476f31eb133df3355c2ad8abce5acda105165 Mon Sep 17 00:00:00 2001 From: Amlal Date: Fri, 13 Sep 2024 09:24:03 +0200 Subject: META: Daily bump. Signed-off-by: Amlal --- dev/ZKA/HALKit/AMD64/HalBMPMgr.cxx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'dev/ZKA/HALKit') 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(reinterpret_cast(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 -- cgit v1.2.3