From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web10.102327.1679666420526500549 for ; Fri, 24 Mar 2023 07:00:20 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=HKeV2HqJ; spf=pass (domain: redhat.com, ip: 170.10.129.124, mailfrom: ppolawsk@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1679666419; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=dJjazt5+uPWnQdF/Ua6Cz/vE7mlauwA/uYINeTb1ym0=; b=HKeV2HqJjxgtzsD3z9RB09BFssh6gchxAh75wkMfX3RtqV76UoOZn6fKBsPB2EEnh9273L S4laqbuL+AS04SidL+Q4azcKBt19Otx4ic6+Q+xVOdxICRLsDrLWd3FBGdnvKTkGPh5HrJ 6Po4Z80T1WdQVLudH9x8SEnEap2BQfg= Received: from mail-ua1-f71.google.com (mail-ua1-f71.google.com [209.85.222.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-187-PvXmP6EaPt6PDx23awuJvg-1; Fri, 24 Mar 2023 10:00:18 -0400 X-MC-Unique: PvXmP6EaPt6PDx23awuJvg-1 Received: by mail-ua1-f71.google.com with SMTP id 93-20020a9f2066000000b00743dc8a5085so1060254uam.7 for ; Fri, 24 Mar 2023 07:00:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679666417; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dJjazt5+uPWnQdF/Ua6Cz/vE7mlauwA/uYINeTb1ym0=; b=Whk7Jsc4pZ5C5WwIGHHTXVwiN+psNq+k04IyN2otEY5pyOBRZJaB7IZp4WjJ8dxd+U reGVVpz2DTFEnuFn1BccWpsAlaiNvqQK988UlEIlcIQd8tAg+F5uNwmEwf9xWWA/oO3O 3CJjJ9wug66E7902Vy8EJ8taVVlobRMOkK2mC35X5nSayUPhWKRM59/B3MlruqovDX5V 99ne9iG4uboaez8PeXqqyIHWipk/L48POEmA7ZWqPkSvuftYevy0voH1wM0QgkT86bAl 0H7gY5e8xxCa52cPLEpJkkZUKFgZemTLkLV8cRMI7rgXpmPoRBBFp5mYRXErgfd4a0m4 z6ow== X-Gm-Message-State: AAQBX9ftjNCEmIfBCnEZE8DRHF4DkJchNBqHVMhY8IHG8RASY1XdWZLb /+xG8EHMxt4XBtQ4c1G9aPg/ZNxf3TbyGefklMS1mKuSMqvuh+NIEiZoA+aWsGfPlbdbiKlktSN 2nEmLE4bzNPiWX9gP+gyii7dSPDrY2kJvfFime4uY X-Received: by 2002:a05:6130:c84:b0:663:e17a:e5f6 with SMTP id ch4-20020a0561300c8400b00663e17ae5f6mr1662814uab.2.1679666417134; Fri, 24 Mar 2023 07:00:17 -0700 (PDT) X-Google-Smtp-Source: AKy350ZpB7IMSrM4+0hGXUqmtFjNId6Nr38mZ4sSL9eb5kYuU0CQyori93rA3rVTaF/5tqAGuQYK186PPq0iE6/+68g= X-Received: by 2002:a05:6130:c84:b0:663:e17a:e5f6 with SMTP id ch4-20020a0561300c8400b00663e17ae5f6mr1662778uab.2.1679666416405; Fri, 24 Mar 2023 07:00:16 -0700 (PDT) MIME-Version: 1.0 References: <17449E3B887C4E80.23192@groups.io> In-Reply-To: <17449E3B887C4E80.23192@groups.io> From: =?UTF-8?B?UGF3ZcWCIFBvxYJhd3NraQ==?= Date: Fri, 24 Mar 2023 15:00:05 +0100 Message-ID: Subject: Re: [edk2-devel] PATCH v3 2/3 ArmVirtPkg: take PcdResizeXterm from the QEMU command line To: devel@edk2.groups.io Cc: Ard Biesheuvel , Leif Lindholm , Sami Mujawar , Gerd Hoffmann X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: multipart/alternative; boundary="00000000000017601b05f7a5d05c" --00000000000017601b05f7a5d05c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi all, If someone had a chance to take a look at this patchset already and would like to share thoughts? The 1st patch from this series has been already successfully reviewed. Best regards, Pawel On Fri, Feb 17, 2023 at 2:03=E2=80=AFPM Pawe=C5=82 Po=C5=82awski wrote: > From: Laszlo Ersek > > This patch enables recognition of PcdResizeXterm config variable. > When enablet it will trigger passing xterm control sequences > from the ArmVirtPkg to the client terminal (xterm, gnome-terminal etc.). > This way client terminal window size will be alligned with > numbers of rows and columns used by firmware. > > Signed-off-by: Laszlo Ersek > > Pawel Polawski: Updated commit message for re-submission > > Cc: Ard Biesheuvel > Cc: Leif Lindholm > Cc: Sami Mujawar > Cc: Gerd Hoffmann > > Signed-off-by: Pawe=C5=82 Po=C5=82awski > --- > ArmVirtPkg/ArmVirtQemu.dsc | 7 > +++- > OvmfPkg/Library/TerminalPcdProducerLib/TerminalPcdProducerLib.inf | 33 > ++++++++++++++++ > OvmfPkg/Library/TerminalPcdProducerLib/TerminalPcdProducerLib.c | 41 > ++++++++++++++++++++ > 3 files changed, 80 insertions(+), 1 deletion(-) > > diff --git a/ArmVirtPkg/ArmVirtQemu.dsc b/ArmVirtPkg/ArmVirtQemu.dsc > index 0f1c6395488a..5f99c0a5104f 100644 > --- a/ArmVirtPkg/ArmVirtQemu.dsc > +++ b/ArmVirtPkg/ArmVirtQemu.dsc > @@ -304,6 +304,8 @@ [PcdsPatchableInModule] > gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress|0x0 > !endif > > + gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm|FALSE > + > [PcdsDynamicHii] > > gArmVirtTokenSpaceGuid.PcdForceNoAcpi|L"ForceNoAcpi"|gArmVirtVariableGui= d|0x0|FALSE|NV,BS > > @@ -418,7 +420,10 @@ [Components.common] > MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf > MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf > MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.i= nf > - MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf > + MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf { > + > + > NULL|OvmfPkg/Library/TerminalPcdProducerLib/TerminalPcdProducerLib.inf > + } > MdeModulePkg/Universal/SerialDxe/SerialDxe.inf > > MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf > diff --git > a/OvmfPkg/Library/TerminalPcdProducerLib/TerminalPcdProducerLib.inf > b/OvmfPkg/Library/TerminalPcdProducerLib/TerminalPcdProducerLib.inf > new file mode 100644 > index 000000000000..b4108ec04b0b > --- /dev/null > +++ b/OvmfPkg/Library/TerminalPcdProducerLib/TerminalPcdProducerLib.inf > @@ -0,0 +1,33 @@ > +## @file > +# Plugin library for setting up dynamic PCDs for TerminalDxe, from fw_c= fg > +# > +# Copyright (c) 2015-2020, Red Hat, Inc. > +# Copyright (c) 2014, Linaro Ltd. All rights reserved.
> +# > +# SPDX-License-Identifier: BSD-2-Clause-Patent > +## > + > +[Defines] > + INF_VERSION =3D 0x00010005 > + BASE_NAME =3D TerminalPcdProducerLib > + FILE_GUID =3D 4a0c5ed7-8c42-4c01-8f4c-7bf258316a9= 6 > + MODULE_TYPE =3D BASE > + VERSION_STRING =3D 1.0 > + LIBRARY_CLASS =3D NULL > + CONSTRUCTOR =3D TerminalPcdProducerLibConstructor > + > +[Sources] > + TerminalPcdProducerLib.c > + > +[Packages] > + MdeModulePkg/MdeModulePkg.dec > + MdePkg/MdePkg.dec > + OvmfPkg/OvmfPkg.dec > + > +[LibraryClasses] > + DebugLib > + PcdLib > + QemuFwCfgSimpleParserLib > + > +[Pcd] > + gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm ## SOMETIMES_PRODUCES > diff --git > a/OvmfPkg/Library/TerminalPcdProducerLib/TerminalPcdProducerLib.c > b/OvmfPkg/Library/TerminalPcdProducerLib/TerminalPcdProducerLib.c > new file mode 100644 > index 000000000000..fe65273822a0 > --- /dev/null > +++ b/OvmfPkg/Library/TerminalPcdProducerLib/TerminalPcdProducerLib.c > @@ -0,0 +1,41 @@ > +/** @file > + > + Copyright (c) 2015-2020, Red Hat, Inc. > + Copyright (c) 2014, Linaro Ltd. All rights reserved.
> + > + SPDX-License-Identifier: BSD-2-Clause-Patent > + > + Plugin library for setting up dynamic PCDs for TerminalDxe, from fw_c= fg > + > +**/ > + > +#include > +#include > +#include > + > +#define UPDATE_BOOLEAN_PCD_FROM_FW_CFG(TokenName) > \ > + do { > \ > + BOOLEAN Setting; > \ > + RETURN_STATUS PcdStatus; > \ > + > \ > + if (!RETURN_ERROR (QemuFwCfgParseBool ( > \ > + "opt/org.tianocore/" #TokenName, &Setting))) { \ > + PcdStatus =3D PcdSetBoolS (TokenName, Setting); > \ > + ASSERT_RETURN_ERROR (PcdStatus); > \ > + } > \ > + } while (0) > + > +/** > + Update PCD configuration variable from firmware config. > + > + @return Always returns RETURN_SUCCESS > +**/ > +RETURN_STATUS > +EFIAPI > +TerminalPcdProducerLibConstructor ( > + VOID > + ) > +{ > + UPDATE_BOOLEAN_PCD_FROM_FW_CFG (PcdResizeXterm); > + return RETURN_SUCCESS; > +} > -- > 2.39.1 > > > >=20 > > > --=20 Pawe=C5=82 Po=C5=82awski Red Hat Virtualization ppolawsk@redhat.com @RedHat Red Hat Red Hat --00000000000017601b05f7a5d05c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all,

If someone had a cha= nce to take a look at this patchset already and would like to share thought= s?
The 1st patch from this series has been already successfully r= eviewed.

Best regards,
Pawel
=
On Fri= , Feb 17, 2023 at 2:03=E2=80=AFPM Pawe=C5=82 Po=C5=82awski <ppolawsk@redhat.com> wrote:
From: Laszlo Ersek <lersek@redhat.com><= br>
This patch enables recognition of PcdResizeXterm config variable.
When enablet it will trigger passing xterm control sequences
from the ArmVirtPkg to the client terminal (xterm, gnome-terminal etc.). This way client terminal window size will be alligned with
numbers of rows and columns used by firmware.

Signed-off-by: Laszlo Ersek <lersek@redhat.com>

Pawel Polawski: Updated commit message for re-submission

Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>

Signed-off-by: Pawe=C5=82 Po=C5=82awski <ppolawsk@redhat.com>
---
=C2=A0ArmVirtPkg/ArmVirtQemu.dsc=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 |=C2=A0 7 +++-
=C2=A0OvmfPkg/Library/TerminalPcdProducerLib/TerminalPcdProducerLib.inf | 3= 3 ++++++++++++++++
=C2=A0OvmfPkg/Library/TerminalPcdProducerLib/TerminalPcdProducerLib.c=C2=A0= =C2=A0| 41 ++++++++++++++++++++
=C2=A03 files changed, 80 insertions(+), 1 deletion(-)

diff --git a/ArmVirtPkg/ArmVirtQemu.dsc b/ArmVirtPkg/ArmVirtQemu.dsc
index 0f1c6395488a..5f99c0a5104f 100644
--- a/ArmVirtPkg/ArmVirtQemu.dsc
+++ b/ArmVirtPkg/ArmVirtQemu.dsc
@@ -304,6 +304,8 @@ [PcdsPatchableInModule]
=C2=A0 =C2=A0gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress|0x0
=C2=A0!endif

+=C2=A0 gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm|FALSE
+
=C2=A0[PcdsDynamicHii]
=C2=A0 =C2=A0gArmVirtTokenSpaceGuid.PcdForceNoAcpi|L"ForceNoAcpi"= |gArmVirtVariableGuid|0x0|FALSE|NV,BS

@@ -418,7 +420,10 @@ [Components.common]
=C2=A0 =C2=A0MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.i= nf
=C2=A0 =C2=A0MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.i= nf
=C2=A0 =C2=A0MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsCons= oleDxe.inf
-=C2=A0 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
+=C2=A0 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf {
+=C2=A0 =C2=A0 <LibraryClasses>
+=C2=A0 =C2=A0 =C2=A0 NULL|OvmfPkg/Library/TerminalPcdProducerLib/TerminalP= cdProducerLib.inf
+=C2=A0 }
=C2=A0 =C2=A0MdeModulePkg/Universal/SerialDxe/SerialDxe.inf

=C2=A0 =C2=A0MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
diff --git a/OvmfPkg/Library/TerminalPcdProducerLib/TerminalPcdProducerLib.= inf b/OvmfPkg/Library/TerminalPcdProducerLib/TerminalPcdProducerLib.inf
new file mode 100644
index 000000000000..b4108ec04b0b
--- /dev/null
+++ b/OvmfPkg/Library/TerminalPcdProducerLib/TerminalPcdProducerLib.inf
@@ -0,0 +1,33 @@
+## @file
+#=C2=A0 Plugin library for setting up dynamic PCDs for TerminalDxe, from f= w_cfg
+#
+#=C2=A0 Copyright (c) 2015-2020, Red Hat, Inc.
+#=C2=A0 Copyright (c) 2014, Linaro Ltd. All rights reserved.<BR>
+#
+#=C2=A0 SPDX-License-Identifier: BSD-2-Clause-Patent
+##
+
+[Defines]
+=C2=A0 INF_VERSION=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =3D 0x00010005
+=C2=A0 BASE_NAME=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =3D TerminalPcdProducerLib
+=C2=A0 FILE_GUID=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =3D 4a0c5ed7-8c42-4c01-8f4c-7bf258316a96
+=C2=A0 MODULE_TYPE=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =3D BASE
+=C2=A0 VERSION_STRING=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0=3D 1.0
+=C2=A0 LIBRARY_CLASS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =3D NULL
+=C2=A0 CONSTRUCTOR=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =3D TerminalPcdProducerLibConstructor
+
+[Sources]
+=C2=A0 TerminalPcdProducerLib.c
+
+[Packages]
+=C2=A0 MdeModulePkg/MdeModulePkg.dec
+=C2=A0 MdePkg/MdePkg.dec
+=C2=A0 OvmfPkg/OvmfPkg.dec
+
+[LibraryClasses]
+=C2=A0 DebugLib
+=C2=A0 PcdLib
+=C2=A0 QemuFwCfgSimpleParserLib
+
+[Pcd]
+=C2=A0 gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm ## SOMETIMES_PRODUCES=
diff --git a/OvmfPkg/Library/TerminalPcdProducerLib/TerminalPcdProducerLib.= c b/OvmfPkg/Library/TerminalPcdProducerLib/TerminalPcdProducerLib.c
new file mode 100644
index 000000000000..fe65273822a0
--- /dev/null
+++ b/OvmfPkg/Library/TerminalPcdProducerLib/TerminalPcdProducerLib.c
@@ -0,0 +1,41 @@
+/** @file
+
+=C2=A0 =C2=A0Copyright (c) 2015-2020, Red Hat, Inc.
+=C2=A0 =C2=A0Copyright (c) 2014, Linaro Ltd. All rights reserved.<BR>= ;
+
+=C2=A0 =C2=A0SPDX-License-Identifier: BSD-2-Clause-Patent
+
+=C2=A0 =C2=A0Plugin library for setting up dynamic PCDs for TerminalDxe, f= rom fw_cfg
+
+**/
+
+#include <Library/DebugLib.h>
+#include <Library/PcdLib.h>
+#include <Library/QemuFwCfgSimpleParserLib.h>
+
+#define UPDATE_BOOLEAN_PCD_FROM_FW_CFG(TokenName)=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0\
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 do {=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 BOOLEAN=C2=A0 =C2=A0 =C2=A0 =C2= =A0Setting;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 \
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 RETURN_STATUS PcdStatus;=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 if (!RETURN_ERROR (QemuFwCfgPars= eBool (=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &quo= t;opt/org.tianocore/" #TokenName, &Setting))) { \
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 PcdStatus =3D PcdSetBoolS= (TokenName, Setting);=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0\
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ASSERT_RETURN_ERROR (PcdS= tatus);=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 }=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 } while (0)
+
+/**
+=C2=A0 =C2=A0Update PCD configuration variable from firmware config.
+
+=C2=A0 =C2=A0@return=C2=A0 Always returns RETURN_SUCCESS
+**/
+RETURN_STATUS
+EFIAPI
+TerminalPcdProducerLibConstructor (
+=C2=A0 VOID
+=C2=A0 )
+{
+=C2=A0 UPDATE_BOOLEAN_PCD_FROM_FW_CFG (PcdResizeXterm);
+=C2=A0 return RETURN_SUCCESS;
+}
--
2.39.1








--

<= span>Pawe=C5=82 Po=C5=82awski

Red Hat Virtualization

ppolawsk@= redhat.com=C2=A0 =C2=A0

@RedHat=C2=A0=C2=A0=C2=A0Red Hat=C2=A0=C2=A0Red Hat
=
--00000000000017601b05f7a5d05c--