mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 23:27:35 +00:00
Kernel: Simplify the way PhysicalRegions are constructed
Instead of creating a PhysicalRegion and then expanding it over and over as we traverse the memory map on boot, we now compute the final size of the contiguous physical range up front, and *then* create a PhysicalRegion object.
This commit is contained in:
parent
479df315d2
commit
5171249540
3 changed files with 17 additions and 18 deletions
|
@ -25,7 +25,6 @@ public:
|
|||
|
||||
~PhysicalRegion();
|
||||
|
||||
void expand(PhysicalAddress lower, PhysicalAddress upper);
|
||||
unsigned finalize_capacity();
|
||||
void initialize_zones();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue