[SeaBIOS] [PATCH] vga: Don't advertise multiple pages for lfb modes.
Gerd Hoffmann
kraxel at redhat.com
Mon Sep 9 09:24:40 CEST 2013
Seems win8 doesn't like it. With this patch win8 guests allow
to set the screen resolution to something != 1024x768.
Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
---
vgasrc/vbe.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/vgasrc/vbe.c b/vgasrc/vbe.c
index d962333..b0ee002 100644
--- a/vgasrc/vbe.c
+++ b/vgasrc/vbe.c
@@ -142,6 +142,7 @@ vbe_104f01(struct bregs *regs)
framebuffer = GET_GLOBAL(VBE_framebuffer);
if (framebuffer)
mode_attr |= VBE_MODE_ATTRIBUTE_LINEAR_FRAME_BUFFER_MODE;
+ pages = 1;
break;
}
SET_FARVAR(seg, info->mode_attributes, mode_attr);
--
1.8.3.1
More information about the SeaBIOS
mailing list