mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 23:18:21 +00:00
kernel: string.h, gdt, msr, cpu and ist
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user