From 3665776a509bf32f3166744392f502402e9fcf03 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 14 Oct 2019 22:32:45 +0200 Subject: A different approach to mode setting --- src/kernel/kernel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kernel/kernel.c') diff --git a/src/kernel/kernel.c b/src/kernel/kernel.c index d96ea00..cdad8dd 100644 --- a/src/kernel/kernel.c +++ b/src/kernel/kernel.c @@ -11,18 +11,18 @@ void init() { timer_install(); gdt_install(); + initialise_paging(); idt_install(); isrs_install(); irq_install(); - initialise_paging(); init_serial(); + set_optimal_resolution(); // terminal_initialize(); // TODO: Replace VGA functions with VESA asm volatile ("sti"); } void kernel_main(void) { init(); - set_optimal_resolution(); // vesa_draw_string("This is a testing text!"); -- cgit v1.2.3