aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/include
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/include')
-rw-r--r--arch/x86_64/include/arch/memory/paging/temporary_page.hpp10
1 files changed, 5 insertions, 5 deletions
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;