aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/kernel.c
diff options
context:
space:
mode:
authorMarvin Borner2019-10-14 22:32:45 +0200
committerMarvin Borner2019-10-14 22:32:45 +0200
commit3665776a509bf32f3166744392f502402e9fcf03 (patch)
tree5bac5cac7ac0bd272e865d92c2f8b1c557a6987b /src/kernel/kernel.c
parentaca116a82c7b9ef715ec9e7ed6d2f97d56715327 (diff)
A different approach to mode setting
Diffstat (limited to 'src/kernel/kernel.c')
-rw-r--r--src/kernel/kernel.c4
1 files changed, 2 insertions, 2 deletions
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!");