aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/graphics
diff options
context:
space:
mode:
authorMarvin Borner2019-12-10 21:47:41 +0100
committerMarvin Borner2019-12-10 21:47:41 +0100
commit68915f46e66ed65ce2d32009fdfa2f5dca116842 (patch)
tree7d6df3e4dc6219422cc4b1faf909ff32a74b6edf /src/kernel/graphics
parent33bdf18dad2539aca21727e95e04bfedecd37a76 (diff)
Some syscalls and userspace stuff
sorry for the worse-getting commit messages...
Diffstat (limited to 'src/kernel/graphics')
-rw-r--r--src/kernel/graphics/vesa.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kernel/graphics/vesa.c b/src/kernel/graphics/vesa.c
index 1b759e4..d673bde 100644
--- a/src/kernel/graphics/vesa.c
+++ b/src/kernel/graphics/vesa.c
@@ -194,6 +194,9 @@ void set_optimal_resolution()
paging_map((uint32_t) fb + z, (uint32_t) fb + z, PT_PRESENT | PT_RW | PT_USED);
paging_map((uint32_t) cursor_buffer + z, (uint32_t) cursor_buffer + z, PT_PRESENT | PT_RW | PT_USED);
}
+ paging_set_user((uint32_t) fb, fb_size);
+ serial_write_hex((int) &fb);
+ serial_write("\n");
if (vbe_height > 1440) vesa_set_font(32);
else if (vbe_height > 720) vesa_set_font(24);