diff options
Diffstat (limited to 'Kernel/VM/PhysicalZone.h')
-rw-r--r-- | Kernel/VM/PhysicalZone.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Kernel/VM/PhysicalZone.h b/Kernel/VM/PhysicalZone.h index 6b6a980ba8..bd3bba924e 100644 --- a/Kernel/VM/PhysicalZone.h +++ b/Kernel/VM/PhysicalZone.h @@ -17,7 +17,10 @@ namespace Kernel { // The allocator uses a buddy block scheme internally. class PhysicalZone { - AK_MAKE_ETERNAL + AK_MAKE_ETERNAL; + AK_MAKE_NONCOPYABLE(PhysicalZone); + AK_MAKE_NONMOVABLE(PhysicalZone); + public: static constexpr size_t ZONE_CHUNK_SIZE = PAGE_SIZE / 2; using ChunkIndex = i16; |