summaryrefslogtreecommitdiff
path: root/Kernel/Memory/RegionTree.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-04-05 12:37:11 +0200
committerAndreas Kling <kling@serenityos.org>2022-04-05 13:45:10 +0200
commite0da8da6574be1575864f38b3cd8670a3cb8326e (patch)
tree7a4b548da0cb79dbf505add18bc8aa160814c848 /Kernel/Memory/RegionTree.h
parent3dbb4bc3a617e3ca421a35c6196ad5902bb357d1 (diff)
downloadserenity-e0da8da6574be1575864f38b3cd8670a3cb8326e.zip
Kernel: Move create_identity_mapped_region() to MemoryManager
This had no business being in RegionTree, since RegionTree doesn't track identity-mapped regions anyway. (We allow *any* address to be identity mapped, not just the ones that are part of the RegionTree's range.)
Diffstat (limited to 'Kernel/Memory/RegionTree.h')
-rw-r--r--Kernel/Memory/RegionTree.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Kernel/Memory/RegionTree.h b/Kernel/Memory/RegionTree.h
index 339fc6fd3c..50623ee02f 100644
--- a/Kernel/Memory/RegionTree.h
+++ b/Kernel/Memory/RegionTree.h
@@ -45,8 +45,6 @@ public:
ErrorOr<void> place_anywhere(Region&, RandomizeVirtualAddress, size_t size, size_t alignment = PAGE_SIZE);
ErrorOr<void> place_specifically(Region&, VirtualRange const&);
- ErrorOr<NonnullOwnPtr<Memory::Region>> create_identity_mapped_region(PhysicalAddress, size_t);
-
void delete_all_regions_assuming_they_are_unmapped();
// FIXME: Access the region tree through a SpinlockProtected or similar.