From 1dd691e54ab30b70550ae6197ab252ebd0f8b223 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matteo=20Gm=C3=BCr?= Date: Fri, 1 Nov 2024 15:18:02 +0000 Subject: Make page table handle public --- arch/x86_64/include/arch/memory/paging/active_page_table.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'arch/x86_64/include') 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 -- cgit v1.2.3