diff options
author | dzwdz | 2021-08-09 21:21:56 +0200 |
---|---|---|
committer | dzwdz | 2021-08-09 21:21:56 +0200 |
commit | ab1843f5de80752ba40fb1ea5075eb7e3dad8171 (patch) | |
tree | 9c01d71eef5abc6c5d66c1110e8a7c6ccb0c0281 /src/kernel/arch/i386/boot.c | |
parent | 5836c7df10d48b9c3241f2fbdb9ea3a37313a6fd (diff) |
rename `log_` to `tty_`, `tty_` to `vga_`
Diffstat (limited to 'src/kernel/arch/i386/boot.c')
-rw-r--r-- | src/kernel/arch/i386/boot.c | 11 |
1 files changed, 5 insertions, 6 deletions
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 <kernel/arch/i386/interrupts/idt.h> #include <kernel/arch/i386/multiboot.h> #include <kernel/arch/i386/sysenter.h> -#include <kernel/arch/i386/tty/vga.h> #include <kernel/main.h> #include <kernel/panic.h> @@ -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; |