kernel: add basic console registration system and printk()

This commit is contained in:
2023-02-04 19:03:45 +00:00
parent d0a431c860
commit 31cb7aab8b
11 changed files with 186 additions and 31 deletions

View File

@@ -1,4 +1,5 @@
#include <socks/machine/cpu.h>
#include <socks/machine/vgacon.h>
static ml_cpu_block g_bootstrap_cpu = {0};
@@ -11,5 +12,6 @@ static void bootstrap_cpu_init(void)
int ml_init(uintptr_t arg)
{
bootstrap_cpu_init();
vgacon_init();
return 0;
}