mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 17:05:06 +00:00
Kernel: Remove MemoryManager::region_tree() accessor
Let's not have a way to grab at the RegionTree from outside of MM.
This commit is contained in:
parent
f8d798b667
commit
a3db0ab14f
2 changed files with 1 additions and 3 deletions
|
@ -663,7 +663,7 @@ Region* MemoryManager::kernel_region_from_vaddr(VirtualAddress address)
|
|||
if (is_user_address(address))
|
||||
return nullptr;
|
||||
|
||||
return MM.region_tree().find_region_containing(address);
|
||||
return MM.m_region_tree.find_region_containing(address);
|
||||
}
|
||||
|
||||
Region* MemoryManager::find_user_region_from_vaddr_no_lock(AddressSpace& space, VirtualAddress vaddr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue