aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2013-02-08 15:50:54 +0000
committerKevin O'Connor <kevin@koconnor.net>2013-02-16 20:01:39 -0500
commit0069a314b3692128dd0624d692c4740bceb7c925 (patch)
tree18d9eb3f7b01f9429e1a9df05b07727873f8e41e
parent1337eb38bf45ed8ebb0943d7ac81d9b3d332b044 (diff)
downloadseabios-0069a314b3692128dd0624d692c4740bceb7c925.tar.gz
Enable VGA output when settings bochs-specific mode
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>
-rw-r--r--vgasrc/bochsvga.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vgasrc/bochsvga.c b/vgasrc/bochsvga.c
index bb5a64d..b0ba1ec 100644
--- a/vgasrc/bochsvga.c
+++ b/vgasrc/bochsvga.c
@@ -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;
}