Added const specifier to memory map argument
This commit is contained in:
@@ -26,7 +26,7 @@ kernel::BuddyAllocator::BuddyAllocator()
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
kernel::BuddyAllocator::BuddyAllocator(kernel::MemoryMap& memmap,
|
kernel::BuddyAllocator::BuddyAllocator(const kernel::MemoryMap& memmap,
|
||||||
char* bitmap, size_t blockCount,
|
char* bitmap, size_t blockCount,
|
||||||
size_t treeHeight)
|
size_t treeHeight)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ public:
|
|||||||
|
|
||||||
BuddyAllocator();
|
BuddyAllocator();
|
||||||
|
|
||||||
BuddyAllocator(MemoryMap& memmap, char* bitmap, size_t blockCount,
|
BuddyAllocator(const MemoryMap& memmap, char* bitmap, size_t blockCount,
|
||||||
size_t treeHeight);
|
size_t treeHeight);
|
||||||
|
|
||||||
BuddyAllocator(char* bitmap, size_t blockSize, size_t blockCount,
|
BuddyAllocator(char* bitmap, size_t blockSize, size_t blockCount,
|
||||||
|
|||||||
Reference in New Issue
Block a user