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
+1 -2
View File
@@ -1,4 +1,3 @@
/// MentOS, The Mentoring Operating system project
/// @file process.c
/// @brief Process data structures and functions.
/// @copyright (c) 2014-2021 This file is distributed under the MIT License.
@@ -9,7 +8,7 @@
// Change the header.
#define __DEBUG_HEADER__ "[PROC ]"
// Set the log level.
#define __DEBUG_LEVEL__ LOGLEVEL_DEBUG
#define __DEBUG_LEVEL__ LOGLEVEL_NOTICE
#include "process/process.h"
#include "process/scheduler.h"
-1
View File
@@ -1,4 +1,3 @@
/// MentOS, The Mentoring Operating system project
/// @file scheduler.c
/// @brief Scheduler structures and functions.
/// @copyright (c) 2014-2021 This file is distributed under the MIT License.
+7 -1
View File
@@ -1,9 +1,15 @@
/// MentOS, The Mentoring Operating system project
/// @file scheduler_algorithm.c
/// @brief Round Robin algorithm.
/// @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__ "[SCHALG]"
// Set the log level.
#define __DEBUG_LEVEL__ LOGLEVEL_NOTICE
#include "hardware/timer.h"
#include "process/prio.h"
#include "io/debug.h"
-1
View File
@@ -1,4 +1,3 @@
/// MentOS, The Mentoring Operating system project
/// @file wait.c
/// @brief wait functions.
/// @copyright (c) 2014-2021 This file is distributed under the MIT License.