aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/graphics
diff options
context:
space:
mode:
authorMarvin Borner2020-04-21 00:37:02 +0200
committerMarvin Borner2020-04-21 00:45:47 +0200
commitc83104329214bd618444d6e0242bb0317f52dbbc (patch)
tree8f884d12483f21e94ace5b60d353ad9c8fc14a7c /src/kernel/graphics
parent62b27d5307b1ac019a0a3a27fe947cccff8875f6 (diff)
Finally! EXT2 is working now :)
Puuh.
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 926c34a..853c503 100644
--- a/src/kernel/graphics/vesa.c
+++ b/src/kernel/graphics/vesa.c
@@ -104,8 +104,8 @@ struct vbe_mode_info *vbe_get_mode_info(uint16_t mode)
void set_optimal_resolution()
{
- vga_log("Switching to graphics mode");
- vga_log("Trying to detect available modes");
+ log("Switching to graphics mode");
+ log("Trying to detect available modes");
uint16_t *video_modes = vbe_get_modes();
uint16_t highest = 0;
@@ -135,8 +135,8 @@ void set_optimal_resolution()
kfree(video_modes);
if (highest == 0) {
- vga_log("Mode detection failed!");
- vga_log("Trying common modes...");
+ log("Mode detection failed!");
+ log("Trying common modes...");
struct vbe_mode_info *mode_info;
int modes[] = {
322, 287, 286, 285, 284, // 1600x1200
@@ -177,7 +177,7 @@ void set_optimal_resolution()
if (highest == 0)
switch_to_vga();
} else {
- vga_log("Mode detection succeeded");
+ log("Mode detection succeeded");
}
vbe_set_mode(highest);