From ab1843f5de80752ba40fb1ea5075eb7e3dad8171 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Mon, 9 Aug 2021 21:21:56 +0200 Subject: rename `log_` to `tty_`, `tty_` to `vga_` --- src/kernel/arch/i386/boot.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/kernel/arch/i386/boot.c') diff --git a/src/kernel/arch/i386/boot.c b/src/kernel/arch/i386/boot.c index e782246..522361e 100644 --- a/src/kernel/arch/i386/boot.c +++ b/src/kernel/arch/i386/boot.c @@ -3,7 +3,6 @@ #include #include #include -#include #include #include @@ -11,18 +10,18 @@ void kmain_early(struct multiboot_info *multiboot) { struct kmain_info info; // setup some basic stuff - tty_clear(); - log_const("gdt..."); + tty_init(); + tty_const("gdt..."); gdt_init(); - log_const("idt..."); + tty_const("idt..."); idt_init(); - log_const("sysenter..."); + tty_const("sysenter..."); sysenter_setup(); { // find the init module struct multiboot_mod *module = &multiboot->mods[0]; if (multiboot->mods_count < 1) { - log_const("can't find init! "); + tty_const("can't find init! "); panic(); } info.init.at = module->start; -- cgit v1.2.3