From: Amelia Coutard Date: Tue, 12 Dec 2023 14:48:08 +0000 (+0100) Subject: Quick fix for gcc update (needed for contracts and modules) X-Git-Url: https://git.ameliathe1st.gay/?a=commitdiff_plain;h=3ae74c837b0667ee04907c264062fd7a24182536;p=voyage-au-centre-des-fichiers.git Quick fix for gcc update (needed for contracts and modules) --- diff --git a/kernel/src/paging.hpp b/kernel/src/paging.hpp index c6b78da..6fba85f 100644 --- a/kernel/src/paging.hpp +++ b/kernel/src/paging.hpp @@ -234,7 +234,7 @@ private: bool merge(phys_ptr it); }; -template +template void map_page(paging_table& paging_table, page const* vaddr, phys_ptr> paddr, decltype(paging_entry::page) page_info) { std::size_t const index = (std::uint64_t(vaddr) >> (12 + 9 * paging_depth)) & 0x1FF; if constexpr (depth == paging_depth) {