diff options
Diffstat (limited to 'Kernel/Memory/RegionTree.h')
-rw-r--r-- | Kernel/Memory/RegionTree.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Kernel/Memory/RegionTree.h b/Kernel/Memory/RegionTree.h index 9a00db9f43..560a4f2aa0 100644 --- a/Kernel/Memory/RegionTree.h +++ b/Kernel/Memory/RegionTree.h @@ -34,6 +34,9 @@ public: ErrorOr<NonnullOwnPtr<Region>> allocate_unbacked_anywhere(size_t size, size_t alignment = PAGE_SIZE); + ErrorOr<void> place_anywhere(Region&, size_t size, size_t alignment = PAGE_SIZE); + ErrorOr<void> place_specifically(Region&, VirtualRange const&); + ErrorOr<VirtualRange> try_allocate_anywhere(size_t size, size_t alignment = PAGE_SIZE); ErrorOr<VirtualRange> try_allocate_specific(VirtualAddress base, size_t size); ErrorOr<VirtualRange> try_allocate_randomized(size_t size, size_t alignment = PAGE_SIZE); |