aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/graphics')
-rw-r--r--src/kernel/graphics/vesa.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/kernel/graphics/vesa.c b/src/kernel/graphics/vesa.c
index c6c828b..1e8c9c1 100644
--- a/src/kernel/graphics/vesa.c
+++ b/src/kernel/graphics/vesa.c
@@ -6,7 +6,6 @@
#include <kernel/memory/alloc.h>
#include <kernel/memory/paging.h>
#include <kernel/fs/dev.h>
-#include <kernel/fs/ext2.h>
void vbe_error()
{
@@ -179,10 +178,11 @@ void set_optimal_resolution()
}
dev_make("fb", NULL, (write)fb_write);
- struct fs_node *node = (struct fs_node *)kmalloc(sizeof(struct fs_node));
- strcpy(node->name, "/dev/fb");
- ext2_root->open(node);
- node->dev->block_size = 0;
+ /* struct fs_node *node = (struct fs_node *)kmalloc(sizeof(struct fs_node)); */
+ /* strcpy(node->name, "/dev/fb"); */
+ /* fs_open(node); */
+ /* node->write = (write)fb_write; */
+ /* node->dev->block_size = 0; */
if (vbe_height > 1440)
vesa_set_font(32);