diff options
author | Marvin Borner | 2019-09-29 20:09:56 +0200 |
---|---|---|
committer | Marvin Borner | 2019-09-29 20:09:56 +0200 |
commit | 2fb0965a68dd232a70d1616bfbd7281fc65c2b0a (patch) | |
tree | 15c16851251ef1b083deff5796a36d6c127d0035 /src/kernel/graphics/vesa.c | |
parent | 0936f4d7b781ca8342fa80037d836306913aa282 (diff) |
Added some minor improvements
Diffstat (limited to 'src/kernel/graphics/vesa.c')
-rw-r--r-- | src/kernel/graphics/vesa.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/kernel/graphics/vesa.c b/src/kernel/graphics/vesa.c index f3fd865..f6bdba0 100644 --- a/src/kernel/graphics/vesa.c +++ b/src/kernel/graphics/vesa.c @@ -63,6 +63,9 @@ void set_optimal_resolution() { struct vbe_info *info; struct vbe_mode_info *mode_info; + // info = lmalloc(sizeof(struct vbe_info)); + // mode_info = lmalloc(sizeof(struct vbe_mode_info)); + info->signature[0] = 'V'; info->signature[1] = 'B'; info->signature[2] = 'E'; @@ -96,6 +99,8 @@ void set_optimal_resolution() { } } + // lfree(info); + /*if (strcmp((const char *) info->version, (const char *) 0x300) == 0) { init(); terminal_write_string("SUCCESS!\n"); |