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

@@ -3,6 +3,8 @@
#include <socks/machine/_gdt.h>
#define ml_halt_cpu() asm volatile("cli;hlt")
typedef struct ml_cpu_block {
struct gdt c_gdt;
struct gdt_ptr c_gdt_ptr;