From: Amelia Coutard Date: Tue, 28 Feb 2023 01:34:35 +0000 (+0100) Subject: Removed some logging X-Git-Url: https://git.ameliathe1st.gay/?a=commitdiff_plain;h=f2905d4c0fba8e619f4dd15eca3f7899a119b9c6;p=voyage-au-centre-des-fichiers.git Removed some logging --- diff --git a/kernel/src/kernel.cpp b/kernel/src/kernel.cpp index 3933a16..e5e5de9 100644 --- a/kernel/src/kernel.cpp +++ b/kernel/src/kernel.cpp @@ -121,9 +121,6 @@ extern "C" void kmain(unsigned long magic, os::phys_ptr(get_base_address(PML4T.contents[0]).get_phys_addr()), .size = 1}); - os::paging::page_allocator.print_all(); // Load test-module elf file: const os::elf::header elf_header = *os::phys_ptr(test_module.start_address.get_phys_addr()); @@ -270,13 +266,6 @@ extern "C" void kmain(unsigned long magic, os::phys_ptr phys, std::size_t size) { - if (std::uint64_t(virt) >= 0xFFFF'8000'0000'0000) { - return; - } - os::print("{}->{} ({})\n", std::uint64_t(virt), std::uint64_t(phys.get_phys_addr()), size); - }); - os::print("Loading ring 3 interrupts stack.\n"); os::set_ring0_stack(TSS, std::uint64_t(&interrupt_stack_top)); os::print("Loading TSS.\n");