From b0d917bc8ad95e282f25949c489dfc1c06b91b83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matteo=20Gm=C3=BCr?= Date: Fri, 1 Nov 2024 13:02:14 +0000 Subject: Adjust temporary page to changes --- arch/x86_64/include/arch/memory/paging/temporary_page.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'arch/x86_64/include') diff --git a/arch/x86_64/include/arch/memory/paging/temporary_page.hpp b/arch/x86_64/include/arch/memory/paging/temporary_page.hpp index ae806c8..0293dd9 100644 --- a/arch/x86_64/include/arch/memory/paging/temporary_page.hpp +++ b/arch/x86_64/include/arch/memory/paging/temporary_page.hpp @@ -3,12 +3,12 @@ #include "arch/memory/allocator/physical_frame.hpp" #include "arch/memory/allocator/tiny_frame_allocator.hpp" +#include "arch/memory/paging/page_mapper.hpp" #include "arch/memory/paging/page_table.hpp" #include "arch/memory/paging/virtual_page.hpp" namespace teachos::arch::memory::paging { - /** * @brief * @@ -35,7 +35,7 @@ namespace teachos::arch::memory::paging * * @param frame */ - auto zero_entries() -> void; + auto zero_entries(active_page_table & active_table) -> void; private: /** @@ -44,13 +44,13 @@ namespace teachos::arch::memory::paging * @param frame * @return virtual_address */ - auto map_to_frame(allocator::physical_frame frame) -> virtual_address; + auto map_to_frame(allocator::physical_frame frame, active_page_table & active_table) -> virtual_address; /** * @brief * */ - auto unmap() -> void; + auto unmap(active_page_table & active_table) -> void; /** * @brief @@ -58,7 +58,7 @@ namespace teachos::arch::memory::paging * @param frame * @return page_table_handle */ - auto map_table_frame(allocator::physical_frame frame) -> page_table_handle; + auto map_table_frame(allocator::physical_frame frame, active_page_table & active_table) -> page_table_handle; virtual_page page; allocator::tiny_frame_allocator allocator; -- cgit v1.2.3