From 32f14fa04237963d8b6016d8cc0c6d853e68d2fe Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 18 Jun 2017 18:51:10 +0200 Subject: added graphic context (stub) --- src/Makefile | 2 +- src/gui/graphics_context.h | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 src/gui/graphics_context.h (limited to 'src') 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 -- cgit v1.2.3-54-g00ecf