Final polishing to debugging system.

This commit is contained in:
Enrico Fraccaroli
2021-12-30 11:50:15 +01:00
parent 47276eb503
commit c6906d4f2d
288 changed files with 150 additions and 322 deletions
+7 -2
View File
@@ -1,9 +1,15 @@
/// MentOS, The Mentoring Operating system project
/// @file kernel.c
/// @brief Kernel main function.
/// @copyright (c) 2014-2021 This file is distributed under the MIT License.
/// See LICENSE.md for details.
// Include the kernel log levels.
#include "sys/kernel_levels.h"
// Change the header.
#define __DEBUG_HEADER__ "[KERNEL]"
// Set the log level.
#define __DEBUG_LEVEL__ LOGLEVEL_NOTICE
#include "io/proc_modules.h"
#include "mem/vmem_map.h"
#include "fs/procfs.h"
@@ -125,7 +131,6 @@ int kmain(boot_info_t *boot_informations)
return 1;
}
print_ok();
pr_debug("End of modules: 0x%09p\n", get_address_after_modules());
//==========================================================================
pr_notice("Initialize physical memory manager...\n");