kernel: string.h, gdt, msr, cpu and ist

This commit is contained in:
Matheus
2023-04-08 17:17:03 -03:00
parent f78650f42e
commit 320cc13d75
7 changed files with 214 additions and 0 deletions
+5
View File
@@ -1,7 +1,12 @@
#include <arch/e9.h>
#include <logging.h>
#include <arch/cpu.h>
static cpu_t bsp_cpu;
void kernel_entry() {
cpu_set(&bsp_cpu);
logging_sethook(arch_e9_putc);
arch_gdt_reload();
__assert(!"kernel entry end");
}