This is re-submission of original patches written by Laszlo Ersek. When mode will be changed in the EFI - xterm resolution will change too. Tested with xterm, Gnome terminal and XFCE4 terminal.
Cc: Ard Biesheuvel <ardb+tianoc...@kernel.org> Cc: Leif Lindholm <quic_llind...@quicinc.com> Cc: Sami Mujawar <sami.muja...@arm.com> Cc: Jiewen Yao <jiewen....@intel.com> Cc: Jordan Justen <jordan.l.jus...@intel.com> Cc: Gerd Hoffmann <kra...@redhat.com> Cc: Jian J Wang <jian.j.w...@intel.com> Cc: Liming Gao <gaolim...@byosoft.com.cn> Laszlo Ersek (3): MdeModulePkg: TerminalDxe: set xterm resolution on mode change OvmfPkg: take PcdResizeXterm from the QEMU command line ArmVirtPkg: take PcdResizeXterm from the QEMU command line MdeModulePkg/MdeModulePkg.dec | 4 +++ ArmVirtPkg/ArmVirtQemu.dsc | 7 +++- OvmfPkg/AmdSev/AmdSevX64.dsc | 1 + OvmfPkg/CloudHv/CloudHvX64.dsc | 1 + OvmfPkg/IntelTdx/IntelTdxX64.dsc | 1 + OvmfPkg/Microvm/MicrovmX64.dsc | 2 +- OvmfPkg/OvmfPkgIa32.dsc | 1 + OvmfPkg/OvmfPkgIa32X64.dsc | 1 + OvmfPkg/OvmfPkgX64.dsc | 1 + ArmVirtPkg/Library/TerminalPcdProducerLib/TerminalPcdProducerLib.inf | 33 +++++++++++++++++++ MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf | 2 ++ OvmfPkg/PlatformPei/PlatformPei.inf | 1 + ArmVirtPkg/Library/TerminalPcdProducerLib/TerminalPcdProducerLib.c | 34 ++++++++++++++++++++ MdeModulePkg/Universal/Console/TerminalDxe/TerminalConOut.c | 30 +++++++++++++++++ OvmfPkg/PlatformPei/Platform.c | 13 ++++++++ 15 files changed, 130 insertions(+), 2 deletions(-) create mode 100644 ArmVirtPkg/Library/TerminalPcdProducerLib/TerminalPcdProducerLib.inf create mode 100644 ArmVirtPkg/Library/TerminalPcdProducerLib/TerminalPcdProducerLib.c -- 2.37.2 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#92628): https://edk2.groups.io/g/devel/message/92628 Mute This Topic: https://groups.io/mt/93195498/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-