aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMatteo Gmür <matteo.gmuer1@ost.ch>2024-11-01 15:34:03 +0000
committerMatteo Gmür <matteo.gmuer1@ost.ch>2024-11-01 15:34:03 +0000
commitd488a0709c5a2701482130a3d9c972c0b468a1d2 (patch)
tree8919424d89fbe3c612daafb1ff97dab2b746a5b3 /arch
parent54cdc10862d95ccaf70def277946625d8c721113 (diff)
downloadteachos-d488a0709c5a2701482130a3d9c972c0b468a1d2.tar.xz
teachos-d488a0709c5a2701482130a3d9c972c0b468a1d2.zip
Fix typo
Diffstat (limited to 'arch')
-rw-r--r--arch/x86_64/include/arch/memory/paging/tlb.hpp2
-rw-r--r--arch/x86_64/src/memory/paging/tlb.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86_64/include/arch/memory/paging/tlb.hpp b/arch/x86_64/include/arch/memory/paging/tlb.hpp
index e74eb74..1194720 100644
--- a/arch/x86_64/include/arch/memory/paging/tlb.hpp
+++ b/arch/x86_64/include/arch/memory/paging/tlb.hpp
@@ -23,4 +23,4 @@ namespace teachos::arch::memory::paging
} // namespace teachos::arch::memory::paging
-#endif \ No newline at end of file
+#endif // TEACHOS_ARCH_X86_64_MEMORY_PAGING_TLB_HPP
diff --git a/arch/x86_64/src/memory/paging/tlb.cpp b/arch/x86_64/src/memory/paging/tlb.cpp
index b3255e9..c1160dc 100644
--- a/arch/x86_64/src/memory/paging/tlb.cpp
+++ b/arch/x86_64/src/memory/paging/tlb.cpp
@@ -3,5 +3,5 @@
namespace teachos::arch::memory::paging
{
auto tlb_flush(virtual_address address) -> void { asm volatile("invlpg (%0)" ::"r"(address) : "memory"); }
- auto tlb_flush_all() -> void { flush(PAGE_TABLE_LEVEL_4_ADDRESS); }
+ auto tlb_flush_all() -> void { tlb_flush(PAGE_TABLE_LEVEL_4_ADDRESS); }
} // namespace teachos::arch::memory::paging