Kernel: Move debug printing to its own file

It didn't make sense that dprint was defined in Serial.h.
We also now dump dprint to tty if there is no serial and tty is initialized
This commit is contained in:
Bananymous
2023-01-25 21:39:03 +02:00
parent b315fdc27f
commit c0bc002ac6
16 changed files with 73 additions and 55 deletions

View File

@@ -1,7 +1,7 @@
#include <BAN/Errors.h>
#include <kernel/Debug.h>
#include <kernel/MMU.h>
#include <kernel/kmalloc.h>
#include <kernel/Serial.h>
#include <string.h>