summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-07-13 19:17:02 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-13 22:40:25 +0200
commit9ae067aa7f8db5158b990b0501b634d42a95c7a4 (patch)
treee43dddbfc434c6dce2990f7624b33c008713c919 /Kernel
parent959ceb442418aaf046a3725888310defa6e00265 (diff)
downloadserenity-9ae067aa7f8db5158b990b0501b634d42a95c7a4.zip
Kernel: Make PhysicalRegion eternally allocated
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/VM/PhysicalRegion.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/VM/PhysicalRegion.h b/Kernel/VM/PhysicalRegion.h
index f9adb086d1..4288c2bc4a 100644
--- a/Kernel/VM/PhysicalRegion.h
+++ b/Kernel/VM/PhysicalRegion.h
@@ -17,6 +17,7 @@ namespace Kernel {
class PhysicalZone;
class PhysicalRegion {
+ AK_MAKE_ETERNAL
public:
static OwnPtr<PhysicalRegion> try_create(PhysicalAddress lower, PhysicalAddress upper)
{