mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 11:17:43 +00:00
Kernel: Use NonnullRefPtr<PhysicalPage> in PageDirectory::m_page_tables
We don't care to store null page pointers in the page table map.
This commit is contained in:
parent
ff0f67b3f0
commit
a154faebb7
2 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ private:
|
|||
#else
|
||||
RefPtr<PhysicalPage> m_directory_pages[4];
|
||||
#endif
|
||||
HashMap<FlatPtr, RefPtr<PhysicalPage>> m_page_tables;
|
||||
HashMap<FlatPtr, NonnullRefPtr<PhysicalPage>> m_page_tables;
|
||||
RecursiveSpinLock m_lock;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue