summaryrefslogtreecommitdiff
path: root/driver/vesa.c
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2018-10-04 00:53:30 +0200
committerMiguel <m.i@gmx.at>2018-10-04 00:53:30 +0200
commitce16fe524c14ccaae67fb634105da5aef08ead48 (patch)
tree03990f29389bd4c55f40b804b809c7060c24c739 /driver/vesa.c
parenta455cd5af26bf8731e7c981a9421b16ab34dae6f (diff)
moving framebuffer access completely to userspace
Diffstat (limited to 'driver/vesa.c')
-rw-r--r--driver/vesa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/driver/vesa.c b/driver/vesa.c
index 7405422..bd5c53d 100644
--- a/driver/vesa.c
+++ b/driver/vesa.c
@@ -152,6 +152,7 @@ uint32_t vesa_init(multiboot_information *inf, foolfont *rawfont)
int line_height=12;
int col_width=10;
+
console_lines=vesaYres/line_height;
console_cols=vesaXres/col_width;