diff options
author | dzwdz | 2021-07-10 19:36:50 +0200 |
---|---|---|
committer | dzwdz | 2021-07-10 19:36:50 +0200 |
commit | a90f613e50b1677b03d19793039e0769a09caf9f (patch) | |
tree | 21b10fb5f924d383d13e711b23f2c0b5181feabf /src/arch/i386/boot.c | |
parent | e1a46050ac834b0d1a125847a117edb56d53f32a (diff) |
abstract away logging
Now, the kernel only interfaces with the architecture dependent stuff
via functions declared in generic.h. I'll write a linter enforcing this
soon.
Diffstat (limited to 'src/arch/i386/boot.c')
-rw-r--r-- | src/arch/i386/boot.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/arch/i386/boot.c b/src/arch/i386/boot.c index b2b84f0..37e1aff 100644 --- a/src/arch/i386/boot.c +++ b/src/arch/i386/boot.c @@ -1,3 +1,4 @@ +#include <arch/generic.h> #include <arch/i386/gdt.h> #include <arch/i386/interrupts/idt.h> #include <arch/i386/sysenter.h> @@ -6,11 +7,11 @@ void kmain_early() { tty_clear(); - tty_const("gdt..."); + log_const("gdt..."); gdt_init(); - tty_const("idt..."); + log_const("idt..."); idt_init(); - tty_const("sysenter..."); + log_const("sysenter..."); sysenter_setup(); kmain(); } |