mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:48:10 +00:00
Make PhysicalPage eternally allocated.
This commit is contained in:
parent
3e37a1f5c3
commit
9eca2ffd41
2 changed files with 8 additions and 5 deletions
|
@ -655,6 +655,11 @@ Region::~Region()
|
|||
MM.unregister_region(*this);
|
||||
}
|
||||
|
||||
PhysicalPage::PhysicalPage(PhysicalAddress paddr)
|
||||
: m_paddr(paddr)
|
||||
{
|
||||
}
|
||||
|
||||
void PhysicalPage::return_to_freelist()
|
||||
{
|
||||
InterruptDisabler disabler;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue