aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/include
diff options
context:
space:
mode:
authorMatteo Gmür <matteo.gmuer1@ost.ch>2024-10-20 12:21:57 +0000
committerMatteo Gmür <matteo.gmuer1@ost.ch>2024-10-20 12:21:57 +0000
commit8e9a924f9fba18de9a5e37b1baf1d97e9b008251 (patch)
treeecaf11fb1912676e5990de09933059b0336f1bfa /arch/x86_64/include
parenta706f9732ed9a91854f6245980cdbbca0d220835 (diff)
downloadteachos-8e9a924f9fba18de9a5e37b1baf1d97e9b008251.tar.xz
teachos-8e9a924f9fba18de9a5e37b1baf1d97e9b008251.zip
Fix useless copy by reference
Diffstat (limited to 'arch/x86_64/include')
-rw-r--r--arch/x86_64/include/arch/memory/paging/page_mapper.hpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/x86_64/include/arch/memory/paging/page_mapper.hpp b/arch/x86_64/include/arch/memory/paging/page_mapper.hpp
index 069161f..699d517 100644
--- a/arch/x86_64/include/arch/memory/paging/page_mapper.hpp
+++ b/arch/x86_64/include/arch/memory/paging/page_mapper.hpp
@@ -42,9 +42,8 @@ namespace teachos::arch::memory::paging
* @param frame The physical frame that the virtual page will be mapped to.
* @param flags A bitset of flags that configure the page table entry for this mapping.
*/
-
- auto map_page_to_frame(memory::allocator::area_frame_allocator & allocator, virtual_page const & page,
- memory::allocator::physical_frame const & frame, entry::bitset flags) -> void;
+ auto map_page_to_frame(allocator::area_frame_allocator & allocator, virtual_page page,
+ allocator::physical_frame frame, entry::bitset flags) -> void;
} // namespace teachos::arch::memory::paging
-#endif \ No newline at end of file
+#endif // TEACHOS_ARCH_X86_64_MEMORY_PAGING_PAGE_MAPPER_HPP