mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
14 lines
238 B
C
14 lines
238 B
C
#include <arch/e9.h>
|
|
#include <logging.h>
|
|
#include <arch/cpu.h>
|
|
#include <arch/gdt.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");
|
|
}
|