mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:18:11 +00:00
Kernel: Fix type for PageDirectory::s_cr3_map
This commit is contained in:
parent
a0c1af4327
commit
cdcb75709a
2 changed files with 5 additions and 5 deletions
|
@ -28,11 +28,11 @@ public:
|
|||
return page_directory;
|
||||
}
|
||||
static NonnullRefPtr<PageDirectory> create_kernel_page_directory() { return adopt_ref(*new PageDirectory); }
|
||||
static RefPtr<PageDirectory> find_by_cr3(u32);
|
||||
static RefPtr<PageDirectory> find_by_cr3(FlatPtr);
|
||||
|
||||
~PageDirectory();
|
||||
|
||||
u32 cr3() const
|
||||
FlatPtr cr3() const
|
||||
{
|
||||
#if ARCH(X86_64)
|
||||
return m_pml4t->paddr().get();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue