From bf17b4720b06f6045934e3eb2e2e9c808ead8155 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 16 Oct 2019 21:41:27 +0200 Subject: Fixed framebuffer activation --- src/kernel/graphics/vesa.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/kernel/graphics/vesa.h') 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 -- cgit v1.2.3