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:
parent
b1bb737704
commit
4a6fcfbacf
4 changed files with 15 additions and 9 deletions
|
@ -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); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue