Signed-off-by: Christian Gmeiner <[email protected]>
---
vgasrc/geodevga.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/vgasrc/geodevga.c b/vgasrc/geodevga.c
index 867ad87..a0cbe1f 100644
--- a/vgasrc/geodevga.c
+++ b/vgasrc/geodevga.c
@@ -221,6 +221,10 @@ static int dc_setup(void)
u32 fb_size = framebuffer_size(); // in byte
dprintf(1, "%d KB of video memory at 0x%08x\n", fb_size / 1024, fb);
+
+ /* update VBE variables */
+ SET_VGA(VBE_framebuffer, fb);
+ SET_VGA(VBE_total_memory, fb_size / 1024 / 64); // number of 64K blocks
return 0;
}
--
1.7.11.rc2.5.g68f532f
_______________________________________________
SeaBIOS mailing list
[email protected]
http://www.seabios.org/mailman/listinfo/seabios