]> git.ameliathe1st.gay Git - voyage-au-centre-des-fichiers.git/commitdiff
Fixed namespace-ending comments where that was needed
authorAmelia Coutard <eliottulio.coutard@gmail.com>
Tue, 28 Feb 2023 01:35:20 +0000 (02:35 +0100)
committerAmelia Coutard <eliottulio.coutard@gmail.com>
Tue, 28 Feb 2023 01:35:20 +0000 (02:35 +0100)
kernel/src/interrupts.hpp
kernel/src/paging.cpp
kernel/src/paging.hpp
kernel/src/ring3.hpp
kernel/src/serial.hpp

index c405e26ac536eeef86c9e4b5b770bbdc4015d605..be2d6b7b9f7d8bfed901dccc9fa96a161c6110e4 100644 (file)
@@ -74,4 +74,4 @@ void enable_interrupts(const isr_info (&ISRs)[interrupt_nb], os::idt<interrupt_n
        sti();
 }
 
-}
+} // namespace os
index 1b92b5292793def7bf9c96ff818e70b8448fa6c6..8295011949781e43809ee06edd9577ad1920c71a 100644 (file)
@@ -37,7 +37,9 @@ void on_all_pages(const os::paging::PDPT& PDPT, void f(os::paging::page*, os::ph
                }
        }
 }
-}
+
+} // namespace
+
 void os::paging::on_all_pages(const os::paging::PML4T& PML4T, void f(page*, phys_ptr<page>, std::size_t)) {
        for (std::size_t i = 0; i < 512; i++) {
                if (!PML4T.contents[i].P) {
index faa8168adf041263aa5a7d997618eb0183746071..20791c2fd2e298d0c9f418aa26e5837976755245 100644 (file)
@@ -264,4 +264,4 @@ private:
        phys_ptr<page> split_at_offset(phys_ptr<page> it, std::size_t offset);
 };
 
-}} // os::paging
+} } // namespace os::paging
index da869676d4e0d6e249ee8372b89f7694872bd89a..594d4b32eb56425f0cd7d0132074fb3c57f80b59 100644 (file)
@@ -27,4 +27,4 @@ extern "C" void load_tss();
 void enable_syscalls();
 extern "C" void ftl_to_userspace(void* program, std::byte* stack);
 
-}
+} // namespace os
index cbeb5a367dd5e415fd83686d16932248f92f5172..cdf516500f4ab34d8339c0c6aa00ff053d8e4ae8 100644 (file)
@@ -102,4 +102,4 @@ void print(const char* format, const Ts&... vs) {
        }
 }
 
-}
+} // namespace os