audk/OvmfPkg/QemuVideoDxe
Gerd Hoffmann 512042eba8 OvmfPkg/QemuVideoDxe: fix bochs mode init
Add VgaInb() helper function to read vga registers.  With that in place
fix the unblanking.  We need to put the ATT_ADDRESS_REGISTER flip flop
into a known state, which is done by reading the
INPUT_STATUS_1_REGISTER.  Reading the INPUT_STATUS_1_REGISTER only works
when the device is in color mode, so make sure that bit (0x01) is set in
MISC_OUTPUT_REGISTER.

Currently the mode setting works more by luck because
ATT_ADDRESS_REGISTER flip flop happens to be in the state we need.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
2022-09-07 09:36:16 +00:00
..
ComponentName.c OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Driver.c OvmfPkg/QemuVideoDxe: fix bochs mode init 2022-09-07 09:36:16 +00:00
Gop.c OvmfPkg/QemuVideoDxe: Zero out PixelInformation in QueryMode 2022-08-01 20:34:21 +00:00
Initialize.c OvmfPkg/QemuVideoDxe: parse edid blob, detect display resolution 2022-01-29 17:04:21 +00:00
Qemu.h OvmfPkg/QemuVideoDxe: parse edid blob, detect display resolution 2022-01-29 17:04:21 +00:00
QemuVideoDxe.inf OvmfPkg/QemuVideoDxe: parse edid blob, detect display resolution 2022-01-29 17:04:21 +00:00
VbeShim.asm OvmfPkg/Qemu: Fix various typos 2020-02-10 22:30:07 +00:00
VbeShim.c OvmfPkg/Microvm/pcie: no vbeshim please 2022-06-03 09:06:44 +00:00
VbeShim.h OvmfPkg: Revert Uncrustify formatting in VbeShim.h files 2022-04-04 15:18:31 +00:00
VbeShim.sh OvmfPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:19 -07:00