diff options
| author | Matteo Gmür <matteo.gmuer1@ost.ch> | 2024-11-01 15:18:02 +0000 |
|---|---|---|
| committer | Matteo Gmür <matteo.gmuer1@ost.ch> | 2024-11-01 15:18:02 +0000 |
| commit | 1dd691e54ab30b70550ae6197ab252ebd0f8b223 (patch) | |
| tree | 2dc09489a4819f5e0ff6f644b092f91feb9ca3d3 /arch/x86_64 | |
| parent | 86f19267c7ca4e14ac6169f758130b3c27e62cdb (diff) | |
| download | teachos-1dd691e54ab30b70550ae6197ab252ebd0f8b223.tar.xz teachos-1dd691e54ab30b70550ae6197ab252ebd0f8b223.zip | |
Make page table handle public
Diffstat (limited to 'arch/x86_64')
| -rw-r--r-- | arch/x86_64/include/arch/memory/paging/active_page_table.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86_64/include/arch/memory/paging/active_page_table.hpp b/arch/x86_64/include/arch/memory/paging/active_page_table.hpp index e2c205b..56e0632 100644 --- a/arch/x86_64/include/arch/memory/paging/active_page_table.hpp +++ b/arch/x86_64/include/arch/memory/paging/active_page_table.hpp @@ -174,6 +174,7 @@ namespace teachos::arch::memory::paging invalidate_page_cache(page.start_address()); } + page_table_handle active_handle; ///< Underlying active level 4 page table private: /** * @brief Private constructor should only be used by create or get method, which ensures to create only ever one @@ -214,8 +215,6 @@ namespace teachos::arch::memory::paging entry.set_unused(); allocator.deallocate_frame(frame.value()); } - - page_table_handle active_handle; }; } // namespace teachos::arch::memory::paging |
