aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/graphics/vesa.h
diff options
context:
space:
mode:
authorMarvin Borner2019-10-16 21:41:27 +0200
committerMarvin Borner2019-10-16 21:41:27 +0200
commitbf17b4720b06f6045934e3eb2e2e9c808ead8155 (patch)
tree6ff5a3d6ea861e39e69b03663b87d1ba48b1480f /src/kernel/graphics/vesa.h
parentdf44843bdf2c8bc5a784541511f0473a58547c79 (diff)
Fixed framebuffer activation
Diffstat (limited to 'src/kernel/graphics/vesa.h')
-rw-r--r--src/kernel/graphics/vesa.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/kernel/graphics/vesa.h b/src/kernel/graphics/vesa.h
index f58dcf4..3458090 100644
--- a/src/kernel/graphics/vesa.h
+++ b/src/kernel/graphics/vesa.h
@@ -102,7 +102,9 @@ struct vbe_mode_info {
uint16_t width;
uint16_t height;
uint8_t bpp;
+ uint8_t memory_model;
uint32_t framebuffer;
+ int success;
} __attribute__ ((packed));
/**
@@ -160,6 +162,6 @@ int vbe_bpp;
/**
* The framebuffer interface
*/
-uint32_t fb;
+unsigned char *fb;
#endif