From 44c31c3f130aa5b337eeae73f4875f05cf0440de Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 23 Oct 2019 19:51:55 +0200 Subject: Added es:di manual setting --- src/kernel/graphics/vesa.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/kernel/graphics/vesa.h') diff --git a/src/kernel/graphics/vesa.h b/src/kernel/graphics/vesa.h index 3458090..039a549 100644 --- a/src/kernel/graphics/vesa.h +++ b/src/kernel/graphics/vesa.h @@ -101,6 +101,7 @@ struct vbe_mode_info { uint16_t attributes; uint16_t width; uint16_t height; + uint16_t pitch; uint8_t bpp; uint8_t memory_model; uint32_t framebuffer; @@ -154,6 +155,11 @@ int vbe_width; */ int vbe_height; +/** + * The pitch (bytes per line) of the current video mode + */ +int vbe_pitch; + /** * The bytes per pixel (pixel width) of the current video mode */ -- cgit v1.2.3