Make PhysicalPage eternally allocated.

This commit is contained in:
Andreas Kling 2018-12-31 20:25:42 +01:00
commit 9eca2ffd41
Notes: sideshowbarker 2024-07-19 16:06:34 +09:00
2 changed files with 8 additions and 5 deletions

View file

@ -655,6 +655,11 @@ Region::~Region()
MM.unregister_region(*this);
}
PhysicalPage::PhysicalPage(PhysicalAddress paddr)
: m_paddr(paddr)
{
}
void PhysicalPage::return_to_freelist()
{
InterruptDisabler disabler;