mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 23:18:21 +00:00
kernel: use term as printf hook after initialising flanterm
This commit is contained in:
@@ -16,5 +16,6 @@ void kernel_entry() {
|
|||||||
arch_idt_reload();
|
arch_idt_reload();
|
||||||
pmm_init();
|
pmm_init();
|
||||||
term_init();
|
term_init();
|
||||||
|
logging_sethook(term_putchar);
|
||||||
__assert(!"kernel entry end");
|
__assert(!"kernel entry end");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user