diff --git a/Kernel/VM/RangeAllocator.h b/Kernel/VM/RangeAllocator.h index 371f2035d9..b9e9b22eea 100644 --- a/Kernel/VM/RangeAllocator.h +++ b/Kernel/VM/RangeAllocator.h @@ -1,5 +1,6 @@ #pragma once +#include #include #include @@ -61,3 +62,8 @@ private: Vector m_available_ranges; }; + +inline const LogStream& operator<<(const LogStream& stream, const Range& value) +{ + return stream << String::format("Range(%x-%x)", value.base().get(), value.end().get() - 1); +}