dev: remove console driver, merge into serial
Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
This commit is contained in:
parent
cfe2ee22fb
commit
52ba70f4b7
13 changed files with 163 additions and 547 deletions
|
|
@ -1,6 +1,7 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
#include <kernel/common.h>
|
||||
#include <dev/console.h>
|
||||
|
||||
#include <dev/serial.h>
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
|
|
@ -8,7 +9,7 @@ spinlock_t printf_lock = 0;
|
|||
|
||||
static inline void printf_out(char c)
|
||||
{
|
||||
console_putchar(c);
|
||||
serial_putchar(c);
|
||||
}
|
||||
|
||||
static int printf_write(const char *restrict s)
|
||||
|
|
|
|||
Loading…
Reference in a new issue