From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 0C6E4821E0 for ; Tue, 13 Dec 2016 18:42:50 -0800 (PST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP; 13 Dec 2016 18:42:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,344,1477983600"; d="scan'208";a="797739827" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by FMSMGA003.fm.intel.com with ESMTP; 13 Dec 2016 18:42:49 -0800 Received: from fmsmsx156.amr.corp.intel.com (10.18.116.74) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 13 Dec 2016 18:42:49 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx156.amr.corp.intel.com (10.18.116.74) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 13 Dec 2016 18:42:48 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.9]) by shsmsx102.ccr.corp.intel.com ([169.254.2.54]) with mapi id 14.03.0248.002; Wed, 14 Dec 2016 10:42:45 +0800 From: "Yao, Jiewen" To: "Bi, Dandan" , "edk2-devel@lists.01.org" CC: "Yao, Jiewen" Thread-Topic: [edk2] [patch 17/18] MdeModulePkg: Add missing info string for PCDs Thread-Index: AQHSVbNjCHwuF1EPGkeI7h0cqCvWnaEGu/1w Date: Wed, 14 Dec 2016 02:42:45 +0000 Message-ID: <74D8A39837DF1E4DA445A8C0B3885C503A8BCCC3@SHSMSX104.ccr.corp.intel.com> References: <1481618428-101904-1-git-send-email-dandan.bi@intel.com> <1481618428-101904-18-git-send-email-dandan.bi@intel.com> <3C0D5C461C9E904E8F62152F6274C0BB3B856DD7@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <3C0D5C461C9E904E8F62152F6274C0BB3B856DD7@SHSMSX103.ccr.corp.intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [patch 17/18] MdeModulePkg: Add missing info string for PCDs X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2016 02:42:50 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Jiewen.yao@intel.com >=20 > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of > Dandan Bi > Sent: Tuesday, December 13, 2016 4:40 PM > To: edk2-devel@lists.01.org > Cc: Yao, Jiewen > Subject: [edk2] [patch 17/18] MdeModulePkg: Add missing info string for P= CDs >=20 > Some Pcds are added to the dec file, but miss to add the prompt&&help inf= o to > the uni file, now add them. >=20 > Cc: Jiewen Yao > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Dandan Bi > --- > MdeModulePkg/MdeModulePkg.dec | 1 + > MdeModulePkg/MdeModulePkg.uni | 69 > +++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 70 insertions(+) >=20 > diff --git a/MdeModulePkg/MdeModulePkg.dec > b/MdeModulePkg/MdeModulePkg.dec index a5eb901..7307191 100644 > --- a/MdeModulePkg/MdeModulePkg.dec > +++ b/MdeModulePkg/MdeModulePkg.dec > @@ -1672,10 +1672,11 @@ [PcdsFixedAtBuild, PcdsPatchableInModule, > PcdsDynamic, PcdsDynamicEx] >=20 > ## This is recover file name in PEI phase. > # The file must be in the root directory. > # The file name must be the 8.3 format. > # The PCD data must be in UNICODE format. > + # @Prompt Recover file name in PEI phase >=20 > gEfiMdeModulePkgTokenSpaceGuid.PcdRecoveryFileName|L"FVMAIN.FV"|VOI > D*|0x30001045 >=20 > ## This PCD hold a list GUIDs for the ImageTypeId to indicate the > # FMP capsule is a system FMP. > # @Prompt A list of system FMP ImageTypeId GUIDs diff --git > a/MdeModulePkg/MdeModulePkg.uni b/MdeModulePkg/MdeModulePkg.uni > index 136eec9..5436b60 100644 > --- a/MdeModulePkg/MdeModulePkg.uni > +++ b/MdeModulePkg/MdeModulePkg.uni > @@ -1004,5 +1004,74 @@ >=20 > "On X64 platforms, Option ROMs may contain code that executes in the cont= ext > of a legacy BIOS (CSM)," >=20 > "which requires that all PCI MMIO BARs are located below 4 GB.
" >=20 > "TRUE - All PCI MMIO BARs of a device will be located below 4 GB if it h= as an > option ROM.
" >=20 > "FALSE - PCI MMIO BARs of a device may be located above 4 GB even if it h= as an > option ROM.
" >=20 > +#string > STR_gEfiMdeModulePkgTokenSpaceGuid_PcdStatusCodeSubClassCapsule_PRO > MPT #language en-US "Status Code for Capsule subclass definitions" > + > +#string > STR_gEfiMdeModulePkgTokenSpaceGuid_PcdStatusCodeSubClassCapsule_HELP > #language en-US "Status Code for Capsule subclass definitions.

\n" > + > "EFI_OEM_SPECIFIC_SUBCLASS_CAPSULE =3D 0x00810000
\n" > + > "NOTE: The default value of this PCD may collide with other OEM specific = status > codes.\n" > + > "Override the value of this PCD in the platform DSC file as needed." > + > +#string > STR_gEfiMdeModulePkgTokenSpaceGuid_PcdCapsuleStatusCodeProcessCapsul > esBegin_PROMPT #language en-US "Status Code for Capsule Process Begin" > + > +#string > STR_gEfiMdeModulePkgTokenSpaceGuid_PcdCapsuleStatusCodeProcessCapsul > esBegin_HELP #language en-US "Status Code for Capsule Process > Begin.

\n" > + > "EFI_CAPSULE_PROCESS_CAPSULES_BEGIN =3D (EFI_OEM_SPECIFIC | > 0x00000001) =3D 0x00008001
\n" > + > "NOTE: The default value of this PCD may collide with other OEM specific = status > codes.\n" > + > "Override the value of this PCD in the platform DSC file as needed." > + > +#string > STR_gEfiMdeModulePkgTokenSpaceGuid_PcdCapsuleStatusCodeProcessCapsul > esEnd_PROMPT #language en-US "Status Code for Capsule Process End" > + > +#string > STR_gEfiMdeModulePkgTokenSpaceGuid_PcdCapsuleStatusCodeProcessCapsul > esEnd_HELP #language en-US "Status Code for Capsule Process > End.

\n" > + > "EFI_CAPSULE_PROCESS_CAPSULES_END =3D (EFI_OEM_SPECIFIC | > 0x00000002) =3D 0x00008002
\n" > + > "NOTE: The default value of this PCD may collide with other OEM specific = status > codes.\n" > + > "Override the value of this PCD in the platform DSC file as needed." > + > +#string > STR_gEfiMdeModulePkgTokenSpaceGuid_PcdCapsuleStatusCodeUpdatingFirmw > are_PROMPT #language en-US "Status Code for Capsule Process Updating > Firmware" > + > +#string > STR_gEfiMdeModulePkgTokenSpaceGuid_PcdCapsuleStatusCodeUpdatingFirmw > are_HELP #language en-US "Status Code for Capsule Process Updating > Firmware.

\n" > + > "EFI_CAPSULE_UPDATING_FIRMWARE =3D (EFI_OEM_SPECIFIC | > 0x00000003) =3D 0x00008003
\n" > + > "NOTE: The default value of this PCD may collide with other OEM specific = status > codes.\n" > + > "Override the value of this PCD in the platform DSC file as needed." > + > +#string > STR_gEfiMdeModulePkgTokenSpaceGuid_PcdCapsuleStatusCodeUpdateFirmwa > reSuccess_PROMPT #language en-US "Status Code for Capsule Process Update > Firmware Success" > + > +#string > STR_gEfiMdeModulePkgTokenSpaceGuid_PcdCapsuleStatusCodeUpdateFirmwa > reSuccess_HELP #language en-US "Status Code for Capsule Process Update > Firmware Success.

\n" > + > "EFI_CAPSULE_UPDATE_FIRMWARE_SUCCESS =3D (EFI_OEM_SPECIFIC | > 0x00000004) =3D 0x00008004
\n" > + > "NOTE: The default value of this PCD may collide with other OEM specific = status > codes.\n" > + > "Override the value of this PCD in the platform DSC file as needed." > + > +#string > STR_gEfiMdeModulePkgTokenSpaceGuid_PcdCapsuleStatusCodeUpdateFirmwa > reFailed_PROMPT #language en-US "Status Code for Capsule Process Update > Firmware Failed" > + > +#string > STR_gEfiMdeModulePkgTokenSpaceGuid_PcdCapsuleStatusCodeUpdateFirmwa > reFailed_HELP #language en-US "Status Code for Capsule Process Update > Firmware Failed.

\n" > + > "EFI_CAPSULE_UPDATE_FIRMWARE_FAILED =3D (EFI_OEM_SPECIFIC | > 0x00000005) =3D 0x00008005
\n" > + > "NOTE: The default value of this PCD may collide with other OEM specific = status > codes.\n" > + > "Override the value of this PCD in the platform DSC file as needed." > + > +#string > STR_gEfiMdeModulePkgTokenSpaceGuid_PcdCapsuleStatusCodeResettingSyste > m_PROMPT #language en-US "Status Code for Capsule Resetting System" > + > +#string > STR_gEfiMdeModulePkgTokenSpaceGuid_PcdCapsuleStatusCodeResettingSyste > m_HELP #language en-US "Status Code for Capsule Resetting > System.

\n" > + > "EFI_CAPSULE_RESETTING_SYSTEM =3D (EFI_OEM_SPECIFIC | 0x00000006) > =3D 0x00008006
\n" > + > "NOTE: The default value of this PCD may collide with other OEM specific = status > codes.\n" > + > "Override the value of this PCD in the platform DSC file as needed." > + > +#string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdCapsuleMax_PROMPT > #language en-US "CapsuleMax value in capsule report variable." > + > +#string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdCapsuleMax_HELP > #language en-US "CapsuleMax value in capsule report variable." > + > +#string > STR_gEfiMdeModulePkgTokenSpaceGuid_PcdRecoveryFileName_PROMPT > #language en-US "Recover file name in PEI phase" > + > +#string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdRecoveryFileName_HELP > #language en-US "This is recover file name in PEI phase.\n" > + > "The file must be in the root directory.\n" > + > "The file name must be the 8.3 format.\n" > + > "The PCD data must be in UNICODE format." > + > +#string > STR_gEfiMdeModulePkgTokenSpaceGuid_PcdSystemFmpCapsuleImageTypeIdG > uid_PROMPT #language en-US "A list of system FMP ImageTypeId GUIDs" > + > +#string > STR_gEfiMdeModulePkgTokenSpaceGuid_PcdSystemFmpCapsuleImageTypeIdG > uid_HELP #language en-US "This PCD hold a list GUIDs for the ImageTypeId= to > indicate the\n" > + > "FMP capsule is a system FMP." > + > +#string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdTestKeyUsed_PROMPT > #language en-US "If there is any test key used by the platform." > + > +#string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdTestKeyUsed_HELP > #language en-US "This dynamic PCD holds the information if there is any t= est key > used by the platform." > + > -- > 1.9.5.msysgit.1 >=20 > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel