1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:57:45 +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:
Andreas Kling 2019-12-25 02:46:17 +01:00
parent 7a0088c4d2
commit c087abc48d
3 changed files with 8 additions and 8 deletions

View file

@ -17,7 +17,7 @@ public:
return adopt(*new PageDirectory(process, parent_range_allocator));
}
static NonnullRefPtr<PageDirectory> create_at_fixed_address(PhysicalAddress paddr) { return adopt(*new PageDirectory(paddr)); }
static RefPtr<PageDirectory> find_by_pdb(u32);
static RefPtr<PageDirectory> find_by_cr3(u32);
~PageDirectory();