aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/inc')
-rw-r--r--kernel/inc/drivers/bga.h11
-rw-r--r--kernel/inc/fb.h14
2 files changed, 25 insertions, 0 deletions
diff --git a/kernel/inc/drivers/bga.h b/kernel/inc/drivers/bga.h
new file mode 100644
index 0000000..53c153c
--- /dev/null
+++ b/kernel/inc/drivers/bga.h
@@ -0,0 +1,11 @@
+// MIT License, Copyright (c) 2021 Marvin Borner
+
+#ifndef BGA_H
+#define BGA_H
+
+#include <def.h>
+
+u8 bga_available(void);
+void bga_install(void);
+
+#endif
diff --git a/kernel/inc/fb.h b/kernel/inc/fb.h
new file mode 100644
index 0000000..0f94b28
--- /dev/null
+++ b/kernel/inc/fb.h
@@ -0,0 +1,14 @@
+// MIT License, Copyright (c) 2021 Marvin Borner
+
+#ifndef FB_H
+#define FB_H
+
+#include <def.h>
+#include <mm.h>
+#include <sys.h>
+
+u32 fb_map_buffer(struct page_dir *dir, struct fb_generic *generic);
+void fb_protect(struct fb_generic *generic);
+void fb_install(void);
+
+#endif