From 73044afd9c61642b4c8217befa1ded3849685554 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 4 Feb 2025 09:41:02 +0100 Subject: ADD: Important refactors regarding NeKernel. Signed-off-by: Amlal El Mahrouss --- dev/Kernel/src/BitMapMgr.cc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'dev/Kernel/src/BitMapMgr.cc') diff --git a/dev/Kernel/src/BitMapMgr.cc b/dev/Kernel/src/BitMapMgr.cc index 33d6ab34..b255798b 100644 --- a/dev/Kernel/src/BitMapMgr.cc +++ b/dev/Kernel/src/BitMapMgr.cc @@ -141,18 +141,18 @@ namespace Kernel { if (!this->IsBitMap(ptr_bit_set)) { - kcout << "Not a BitMap: " << hex_number((UIntPtr)ptr_bit_set) << endl; + kout << "Not a BitMap: " << hex_number((UIntPtr)ptr_bit_set) << endl; return; } - kcout << "Magic Number: " << hex_number(ptr_bit_set[kBitMapMagIdx]) << endl; - kcout << "Is Allocated: " << (ptr_bit_set[kBitMapUsedIdx] ? "Yes" : "No") << endl; - kcout << "Size of BitMap (B): " << number(ptr_bit_set[kBitMapSizeIdx]) << endl; - kcout << "Size of BitMap (KIB): " << number(KIB(ptr_bit_set[kBitMapSizeIdx])) << endl; - kcout << "Size of BitMap (MIB): " << number(MIB(ptr_bit_set[kBitMapSizeIdx])) << endl; - kcout << "Size of BitMap (GIB): " << number(GIB(ptr_bit_set[kBitMapSizeIdx])) << endl; - kcout << "Size of BitMap (TIB): " << number(TIB(ptr_bit_set[kBitMapSizeIdx])) << endl; - kcout << "Address Of BitMap Header: " << hex_number((UIntPtr)ptr_bit_set) << endl; + kout << "Magic Number: " << hex_number(ptr_bit_set[kBitMapMagIdx]) << endl; + kout << "Is Allocated: " << (ptr_bit_set[kBitMapUsedIdx] ? "Yes" : "No") << endl; + kout << "Size of BitMap (B): " << number(ptr_bit_set[kBitMapSizeIdx]) << endl; + kout << "Size of BitMap (KIB): " << number(KIB(ptr_bit_set[kBitMapSizeIdx])) << endl; + kout << "Size of BitMap (MIB): " << number(MIB(ptr_bit_set[kBitMapSizeIdx])) << endl; + kout << "Size of BitMap (GIB): " << number(GIB(ptr_bit_set[kBitMapSizeIdx])) << endl; + kout << "Size of BitMap (TIB): " << number(TIB(ptr_bit_set[kBitMapSizeIdx])) << endl; + kout << "Address Of BitMap Header: " << hex_number((UIntPtr)ptr_bit_set) << endl; } }; } // namespace Detail -- cgit v1.2.3