]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/QemuVideoDxe: factor out QemuVideoBochsAddMode
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 17 Jan 2022 09:58:16 +0000 (10:58 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sat, 29 Jan 2022 17:04:21 +0000 (17:04 +0000)
commit55c05427b90230f15f4807a4daa2876e5e2f4998
tree28c78321c8f3ea2f6d76eafc2f1fb5c59d0ee960
parent336da55ca8db7777907362daf6e3ca5c9357cf27
OvmfPkg/QemuVideoDxe: factor out QemuVideoBochsAddMode

Add helper function to add a video mode to the list of modes.
Move code.  Minor debug logging tweaks, no other functional
change.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
OvmfPkg/QemuVideoDxe/Initialize.c