aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/kernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/kernel.c')
-rw-r--r--src/kernel/kernel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/kernel.c b/src/kernel/kernel.c
index da0b18b..35dd4fd 100644
--- a/src/kernel/kernel.c
+++ b/src/kernel/kernel.c
@@ -9,22 +9,22 @@
#include "paging/kheap.h"
void init() {
- initialise_paging();
timer_install();
gdt_install();
+ initialise_paging();
idt_install();
isrs_install();
irq_install();
init_serial();
+ set_optimal_resolution();
// terminal_initialize(); // TODO: Replace VGA functions with VESA
asm volatile ("sti");
}
void kernel_main(void) {
- set_optimal_resolution();
init();
- // vesa_draw_string("This is a testing text!");
+ vesa_draw_string("This is a testing text!");
if (vesa_available) {
serial_write("Loaded VESA!\n");