Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 512042eba87ff97a4820a55cf3b1a89a8afd1cc7
https://github.com/tianocore/edk2/commit/512042eba87ff97a4820a55cf3b1a89a8afd1cc7
Author: Gerd Hoffmann <[email protected]>
Date: 2022-09-07 (Wed, 07 Sep 2022)
Changed paths:
M OvmfPkg/QemuVideoDxe/Driver.c
Log Message:
-----------
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 <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits