mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-05 15:49:15 +00:00
Kernel: Rename PageDirectory::find_by_pdb() => find_by_cr3()
I caught myself wondering what "pdb" stood for, so let's rename this to something more obvious.
This commit is contained in:
parent
7a0088c4d2
commit
c087abc48d
Notes:
sideshowbarker
2024-07-19 10:42:01 +09:00
Author: https://github.com/awesomekling
Commit: c087abc48d
3 changed files with 8 additions and 8 deletions
|
@ -307,7 +307,7 @@ Region* MemoryManager::region_from_vaddr(VirtualAddress vaddr)
|
|||
{
|
||||
if (auto* region = kernel_region_from_vaddr(vaddr))
|
||||
return region;
|
||||
auto page_directory = PageDirectory::find_by_pdb(cpu_cr3());
|
||||
auto page_directory = PageDirectory::find_by_cr3(cpu_cr3());
|
||||
if (!page_directory)
|
||||
return nullptr;
|
||||
ASSERT(page_directory->process());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue