Kernel: PageTable now has debug_dump

This dumps all the mapped pages and their flags
This commit is contained in:
Bananymous
2023-06-03 18:54:48 +03:00
parent 68691faca1
commit b168462b43
2 changed files with 72 additions and 0 deletions

View File

@@ -51,6 +51,8 @@ namespace Kernel
void lock() const { m_lock.lock(); }
void unlock() const { m_lock.unlock(); }
void debug_dump();
private:
PageTable() = default;
uint64_t get_page_data(vaddr_t) const;