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/virtual_page.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86_64/include/arch/memory/paging/virtual_page.hpp b/arch/x86_64/include/arch/memory/paging/virtual_page.hpp
index 79801ee..f01073d 100644
--- a/arch/x86_64/include/arch/memory/paging/virtual_page.hpp
+++ b/arch/x86_64/include/arch/memory/paging/virtual_page.hpp
@@ -35,7 +35,7 @@ namespace teachos::arch::memory::paging
*
* @return Start address of the virtual page.
*/
- auto start_address() const -> uint64_t;
+ auto start_address() const -> size_t;
/**
* @brief Calculates the index into the page table with the given level, which leads to this virtual page.
@@ -43,7 +43,7 @@ namespace teachos::arch::memory::paging
* @param level Level of the page table we want to calculate the index for.
* @return Index into the page table with the given level.
*/
- auto get_level_index(page_table_handle::level level) const -> uint64_t;
+ auto get_level_index(page_table_handle::level level) const -> size_t;
/**
* @brief Defaulted equals operator.