]> xenbits.xensource.com Git - seabios.git/commitdiff
Enable VGA output when settings bochs-specific mode
authorDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 8 Feb 2013 15:50:54 +0000 (15:50 +0000)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 17 Feb 2013 01:01:39 +0000 (20:01 -0500)
When used from OVMF+CSM, we got no video output. It appears that we were
never enabling the display output except when configuring a text mode.
Which never happens, in the OVMF+CSM case.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
vgasrc/bochsvga.c

index bb5a64d975ca516a53c6514ec2fe6ffae4489cda..b0ba1ecff86857e5eb463bd8a816c84ae9672569 100644 (file)
@@ -319,6 +319,7 @@ bochsvga_set_mode(struct vgamode_s *vmode_g, int flags)
         stdvga_sequ_mask(0x04, 0x00, 0x08);
         stdvga_grdc_mask(0x05, 0x20, 0x40);
     }
+    stdvga_attrindex_write(0x20);
 
     return 0;
 }