aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/graphics/vesa.c
diff options
context:
space:
mode:
authorMarvin Borner2019-09-24 18:41:19 +0200
committerMarvin Borner2019-09-24 18:41:19 +0200
commit19099791a17c53045e89c6cfb3fafd8efbd19a9d (patch)
tree8151781544c14fe600b8729571bfc8ed6a4bdd9a /src/kernel/graphics/vesa.c
parentcd9da0edc6a7838353948a394748a4a16dd47b83 (diff)
First successful VESA attempt
Diffstat (limited to 'src/kernel/graphics/vesa.c')
-rw-r--r--src/kernel/graphics/vesa.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/kernel/graphics/vesa.c b/src/kernel/graphics/vesa.c
new file mode 100644
index 0000000..3549d66
--- /dev/null
+++ b/src/kernel/graphics/vesa.c
@@ -0,0 +1,11 @@
+#include "vesa.h"
+
+extern struct vbe_best vbe_find_mode();
+
+extern void vbe_set_mode(struct vbe_best);
+
+struct vbe_best best;
+
+void init_graphics() {
+ best = vbe_find_mode();
+} \ No newline at end of file