mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:37:45 +00:00
Kernel: Remove unused used/free pages API's from PhysicalRegion
This commit is contained in:
parent
be90e51355
commit
6ea5db20ff
3 changed files with 0 additions and 9 deletions
|
@ -32,8 +32,6 @@ public:
|
|||
PhysicalAddress lower() const { return m_lower; }
|
||||
PhysicalAddress upper() const { return m_upper; }
|
||||
unsigned size() const { return m_pages; }
|
||||
unsigned used() const { return m_used; }
|
||||
unsigned free() const { return m_pages - m_used; }
|
||||
bool contains(PhysicalAddress paddr) const { return paddr >= m_lower && paddr <= m_upper; }
|
||||
|
||||
OwnPtr<PhysicalRegion> try_take_pages_from_beginning(unsigned);
|
||||
|
@ -47,8 +45,6 @@ private:
|
|||
|
||||
NonnullOwnPtrVector<PhysicalZone> m_zones;
|
||||
|
||||
size_t m_used { 0 };
|
||||
|
||||
PhysicalAddress m_lower;
|
||||
PhysicalAddress m_upper;
|
||||
unsigned m_pages { 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue