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

Kernel: Remove PhysicalRegion::finalize_capacity()

There's no reason to delay calculating the capacity (total page count)
of each PhysicalRegion. Just do it in the constructor.
This commit is contained in:
Andreas Kling 2021-07-13 18:46:09 +02:00
parent 5171249540
commit 959ceb4424
3 changed files with 5 additions and 19 deletions

View file

@ -25,7 +25,6 @@ public:
~PhysicalRegion();
unsigned finalize_capacity();
void initialize_zones();
PhysicalAddress lower() const { return m_lower; }