Kernel: Change method name to clarify physical memory mmap validation

This commit is contained in:
Liav A 2021-12-23 21:11:18 +02:00 committed by Idan Horowitz
commit 876559d283
Notes: sideshowbarker 2024-07-18 02:13:10 +09:00
3 changed files with 3 additions and 3 deletions

View file

@ -230,7 +230,7 @@ public:
PageDirectory& kernel_page_directory() { return *m_kernel_page_directory; }
Vector<UsedMemoryRange> const& used_memory_ranges() { return m_used_memory_ranges; }
bool is_allowed_to_mmap_to_userspace(PhysicalAddress, VirtualRange const&) const;
bool is_allowed_to_mmap_physical_memory_to_userspace(PhysicalAddress, VirtualRange const&) const;
PhysicalPageEntry& get_physical_page_entry(PhysicalAddress);
PhysicalAddress get_physical_address(PhysicalPage const&);