aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/libgui/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/userspace/libgui/init.c')
-rw-r--r--src/userspace/libgui/init.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/userspace/libgui/init.c b/src/userspace/libgui/init.c
deleted file mode 100644
index 2e5d9c5..0000000
--- a/src/userspace/libgui/init.c
+++ /dev/null
@@ -1,27 +0,0 @@
-#include <gui.h>
-#include <stdint.h>
-#include <stdio.h>
-#include <syscall.h>
-
-struct pointers *pointers;
-
-u32 terminal_color[3] = { 0xab, 0xb2, 0xbf };
-u32 terminal_background[3] = { 0x1d, 0x1f, 0x24 };
-
-void gui_init()
-{
- // TODO: Implement framebuffer device
- // pointers = syscall_pointers();
-
- vbe_width = pointers->mode_info->width;
- vbe_height = pointers->mode_info->height;
- vbe_pitch = pointers->mode_info->pitch;
- vbe_bpl = pointers->mode_info->bpp >> 3;
-
- // TODO: Why tf is the kheap magic stored in the first few bytes?!
- fb = (pointers->mode_info->framebuffer << 16);
-
- /* gui_screen_clear(); */
- /* printf("%dx%dx%d\n", vbe_width, vbe_height, vbe_bpl << 3); */
- /* printf("0x%x\n", fb); */
-} \ No newline at end of file