summaryrefslogtreecommitdiff
path: root/src/kernel/arch/i386/boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/arch/i386/boot.c')
-rw-r--r--src/kernel/arch/i386/boot.c11
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;