diff options
author | Marvin Borner | 2019-10-23 19:51:55 +0200 |
---|---|---|
committer | Marvin Borner | 2019-10-23 19:51:55 +0200 |
commit | 44c31c3f130aa5b337eeae73f4875f05cf0440de (patch) | |
tree | be7b6b60aa8b3eda4beabce3624d907ad853100e /src/kernel/graphics/vesa.h | |
parent | 4f46185c708112132987e9da4dc2197d833a032a (diff) |
Added es:di manual setting
Diffstat (limited to 'src/kernel/graphics/vesa.h')
-rw-r--r-- | src/kernel/graphics/vesa.h | 6 |
1 files changed, 6 insertions, 0 deletions
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; @@ -155,6 +156,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 */ int vbe_bpp; |