aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/include
diff options
context:
space:
mode:
authorMatteo Gmür <matteo.gmuer1@ost.ch>2024-10-26 09:20:53 +0000
committerMatteo Gmür <matteo.gmuer1@ost.ch>2024-10-26 09:20:53 +0000
commite56964da2dd54e598d3a7fca20fc0071f32026a4 (patch)
treebdee9ba7b49701955e321653c63e44e124d50ab6 /arch/x86_64/include
parent878751001c3de6e7fb24c6212957cd5d753a62d1 (diff)
downloadteachos-e56964da2dd54e598d3a7fca20fc0071f32026a4.tar.xz
teachos-e56964da2dd54e598d3a7fca20fc0071f32026a4.zip
Adjust to toolchain updates
Diffstat (limited to 'arch/x86_64/include')
-rw-r--r--arch/x86_64/include/arch/boot/pointers.hpp2
-rw-r--r--arch/x86_64/include/arch/memory/paging/page_table.hpp4
2 files changed, 2 insertions, 4 deletions
diff --git a/arch/x86_64/include/arch/boot/pointers.hpp b/arch/x86_64/include/arch/boot/pointers.hpp
index 2c42605..37840b6 100644
--- a/arch/x86_64/include/arch/boot/pointers.hpp
+++ b/arch/x86_64/include/arch/boot/pointers.hpp
@@ -9,8 +9,6 @@ namespace teachos::arch::boot
{
extern "C" size_t const multiboot_information_pointer;
extern "C" memory::paging::page_table * page_map_level_4;
- extern "C" memory::paging::page_table * page_map_level_3;
- extern "C" memory::paging::page_table * page_map_level_2;
} // namespace teachos::arch::boot
#endif
diff --git a/arch/x86_64/include/arch/memory/paging/page_table.hpp b/arch/x86_64/include/arch/memory/paging/page_table.hpp
index 5a072d0..291ea8d 100644
--- a/arch/x86_64/include/arch/memory/paging/page_table.hpp
+++ b/arch/x86_64/include/arch/memory/paging/page_table.hpp
@@ -47,9 +47,9 @@ namespace teachos::arch::memory::paging
page_table_handle(page_table * handle, level handle_level);
/**
- * @brief Initializes one page table level 3 entry.
+ * @brief Initializes one page table level 4 entry.
*/
- void initialize_page_table();
+ void initialize_page_tables();
/**
* @brief Set every entry of the page to unused.