From 9ae067aa7f8db5158b990b0501b634d42a95c7a4 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 13 Jul 2021 19:17:02 +0200 Subject: [PATCH] Kernel: Make PhysicalRegion eternally allocated --- Kernel/VM/PhysicalRegion.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Kernel/VM/PhysicalRegion.h b/Kernel/VM/PhysicalRegion.h index f9adb086d1f..4288c2bc4a3 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 try_create(PhysicalAddress lower, PhysicalAddress upper) {