Kernel/Core/Memory/SmartHeap.cpp
2023-08-06 04:53:14 +03:00

16 lines
199 B
C++

#include <memory.hpp>
namespace Memory
{
SmartHeap::SmartHeap(size_t Size)
{
this->Object = kmalloc(Size);
this->ObjectSize = Size;
}
SmartHeap::~SmartHeap()
{
kfree(this->Object);
}
}