summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-06-18 18:51:10 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2017-06-18 18:51:10 +0200
commit32f14fa04237963d8b6016d8cc0c6d853e68d2fe (patch)
treee5feb1d160be5e2b45bafb8cdf284d0081cd076b /src
parentc6cdddeff0cb0437b1d54520d99460a58db39fdc (diff)
downloadabaos-32f14fa04237963d8b6016d8cc0c6d853e68d2fe.tar.gz
abaos-32f14fa04237963d8b6016d8cc0c6d853e68d2fe.tar.bz2
added graphic context (stub)
Diffstat (limited to 'src')
-rw-r--r--src/Makefile2
-rw-r--r--src/gui/graphics_context.h8
2 files changed, 9 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index fd418ef..497a0d4 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -110,7 +110,7 @@ clean:
-rm -f boot.bin kernel.bin kernel.sym kernel.elf image.bin magic.bin boot.map image.tmp \
serial.log \
libc/*.o hardware/*.o kernel/*.o \
- drivers/*.o drivers/*/*.o drivers/*/*/*.o
+ drivers/*.o drivers/*/*.o drivers/*/*/*.o gui/*.o
run-qemu-hd: image.bin
qemu-system-i386 -net nic,model=ne2k_pci -d guest_errors -m 32 -drive "file=image.bin,if=ide,format=raw" \
diff --git a/src/gui/graphics_context.h b/src/gui/graphics_context.h
new file mode 100644
index 0000000..9a3c7b4
--- /dev/null
+++ b/src/gui/graphics_context.h
@@ -0,0 +1,8 @@
+#ifndef GRAPHICS_CONTEXT_H
+#define GRAPHICS_CONTEXT_H
+
+#include "drivers/video/vga.h"
+
+typedef vga_t graphics_context_t;
+
+#endif //GRAPHICS_CONTEXT_H