aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/kernel.c
diff options
context:
space:
mode:
authorMarvin Borner2019-10-16 18:45:24 +0200
committerMarvin Borner2019-10-16 18:45:24 +0200
commitdf44843bdf2c8bc5a784541511f0473a58547c79 (patch)
treecccaaf2776f99e98b788b48279e2eb146154c3eb /src/kernel/kernel.c
parent2e988c84fc9b282e7618ba89a5c3b2ef9406121e (diff)
Added some VGA fallback features
Diffstat (limited to 'src/kernel/kernel.c')
-rw-r--r--src/kernel/kernel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/kernel.c b/src/kernel/kernel.c
index 35dd4fd..64c20a2 100644
--- a/src/kernel/kernel.c
+++ b/src/kernel/kernel.c
@@ -30,6 +30,7 @@ void kernel_main(void) {
serial_write("Loaded VESA!\n");
} else {
serial_write("VESA loading failed!\n");
+ switch_to_vga();
}
// __asm__ ("div %0" :: "r"(0)); // Exception testing x/0