1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:57:45 +00:00

Kernel: Use a RangeAllocator for kernel-only virtual space allocation too.

This commit is contained in:
Andreas Kling 2019-05-17 04:02:29 +02:00
parent b1bb737704
commit 4a6fcfbacf
4 changed files with 15 additions and 9 deletions

View file

@ -15,7 +15,7 @@ public:
LinearAddress base() const { return m_base; }
size_t size() const { return m_size; }
bool is_valid() const { return m_base.is_null(); }
bool is_valid() const { return !m_base.is_null(); }
LinearAddress end() const { return m_base.offset(m_size); }