diff options
author | Sergey Bugaev <bugaevc@gmail.com> | 2019-06-14 16:40:25 +0300 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-06-14 16:14:49 +0200 |
commit | a8e86841ce45ee3d5df285f52171ebcfde6750d5 (patch) | |
tree | 63bf6618033f149f7243b14d6d6ca918335312d0 /Kernel/VM/PhysicalPage.h | |
parent | 6bb7c803650e739fcc25986b7eb29698b7a531cd (diff) | |
download | serenity-a8e86841ce45ee3d5df285f52171ebcfde6750d5.zip |
VM: Support non-freeable, non-eternal PhysicalPages.
Diffstat (limited to 'Kernel/VM/PhysicalPage.h')
-rw-r--r-- | Kernel/VM/PhysicalPage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/VM/PhysicalPage.h b/Kernel/VM/PhysicalPage.h index 422cdbe03f..b3b975ca69 100644 --- a/Kernel/VM/PhysicalPage.h +++ b/Kernel/VM/PhysicalPage.h @@ -29,7 +29,7 @@ public: } static Retained<PhysicalPage> create_eternal(PhysicalAddress, bool supervisor); - static Retained<PhysicalPage> create(PhysicalAddress, bool supervisor); + static Retained<PhysicalPage> create(PhysicalAddress, bool supervisor, bool may_return_to_freelist = true); word retain_count() const { return m_retain_count; } |