[SeaBIOS] [PATCH 4/5] SeaVGABios/cbvga: Use active mode to clear screen

Patrick Rudolph siro at das-labor.org
Mon May 29 19:25:13 CEST 2017


As coreboot framebuffer is immutable always use CBmodeinfo.

Signed-off-by: Patrick Rudolph <siro at das-labor.org>
---
 vgasrc/cbvga.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vgasrc/cbvga.c b/vgasrc/cbvga.c
index 6b3233e..ae2bd4a 100644
--- a/vgasrc/cbvga.c
+++ b/vgasrc/cbvga.c
@@ -114,7 +114,7 @@ cbvga_set_mode(struct vgamode_s *vmode_g, int flags)
             return 0;
         }
         struct gfx_op op;
-        init_gfx_op(&op, vmode_g);
+        init_gfx_op(&op, &CBmodeinfo);
         op.x = op.y = 0;
         op.xlen = GET_GLOBAL(CBmodeinfo.width);
         op.ylen = GET_GLOBAL(CBmodeinfo.height);
-- 
2.9.3




More information about the SeaBIOS mailing list