summaryrefslogtreecommitdiff
path: root/src/kernel/vesa.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/vesa.h')
-rw-r--r--src/kernel/vesa.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/kernel/vesa.h b/src/kernel/vesa.h
new file mode 100644
index 0000000..495b593
--- /dev/null
+++ b/src/kernel/vesa.h
@@ -0,0 +1,24 @@
+#ifndef VESA_H
+#define VESA_H
+
+struct video_mode {
+ //TODO
+};
+
+#define VESA_INFO \
+ ((struct { \
+ uint32_t sig; \
+ uint16_t vbe_ver; \
+ char *oem; \
+ uint32_t capabilities; \
+ struct video_mode *modes; \
+ uint16_t vram_size_high; \
+ uint16_t soft_ver; \
+ char *vendor; \
+ char *pname; \
+ char *prev; \
+ } *)0x4200)
+
+void init_vesa();
+
+#endif \ No newline at end of file