aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/graphics
diff options
context:
space:
mode:
authorMarvin Borner2020-05-02 18:17:35 +0200
committerMarvin Borner2020-05-02 18:17:35 +0200
commite8f1c287a63f0f71fe463f7271834538b45f8c05 (patch)
tree6eebab2d27e610c8eeb130ddfd6a7f858ece411a /src/kernel/graphics
parentaa8a8811818331cf511681327e3ba95e456f0d33 (diff)
Some work in the vfs
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);