From a1eab256b4d3330b8d0d2a7ab80c885f32ea323f Mon Sep 17 00:00:00 2001 From: Baptiste Wicht Date: Fri, 5 Aug 2016 17:20:39 +0200 Subject: [PATCH] Debug message --- kernel/src/paging.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/src/paging.cpp b/kernel/src/paging.cpp index f74513a9..ef77a54b 100644 --- a/kernel/src/paging.cpp +++ b/kernel/src/paging.cpp @@ -116,6 +116,8 @@ size_t early_map_page_clear(size_t physical){ } //end of anonymous namespace void paging::early_init(){ + logging::logf(logging::log_level::TRACE, "Kernel occupies %u MiB from %h\n", uint64_t(early::kernel_mib()), uint64_t(early::kernel_address)); + // This page is used for mapping the physical address of the paging structure before // paging is completely initialized. It won't be used after final paging is setup paging::virtual_early_page = 0x100000;