From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id A0DC11A1E24 for ; Sat, 8 Oct 2016 19:06:32 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP; 08 Oct 2016 19:06:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,315,1473145200"; d="scan'208";a="770459555" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by FMSMGA003.fm.intel.com with ESMTP; 08 Oct 2016 19:06:32 -0700 Received: from fmsmsx152.amr.corp.intel.com (10.18.125.5) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sat, 8 Oct 2016 19:06:31 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX152.amr.corp.intel.com (10.18.125.5) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sat, 8 Oct 2016 19:06:31 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.101]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.96]) with mapi id 14.03.0248.002; Sun, 9 Oct 2016 10:06:28 +0800 From: "Ni, Ruiyu" To: "Yao, Jiewen" , "edk2-devel@lists.01.org" CC: "Tian, Feng" , "Zeng, Star" , "Gao, Liming" , "Dong, Eric" Thread-Topic: [PATCH V2 1/3] MdeModulePkg/dec: Add PcdRecoveryFileName PCD. Thread-Index: AQHSIcx2MQDQJUGY6UmvA86CAbm/l6CfX8qA Date: Sun, 9 Oct 2016 02:06:27 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D58E15C6D@SHSMSX104.ccr.corp.intel.com> References: <1475976509-7580-1-git-send-email-jiewen.yao@intel.com> <1475976509-7580-2-git-send-email-jiewen.yao@intel.com> In-Reply-To: <1475976509-7580-2-git-send-email-jiewen.yao@intel.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH V2 1/3] MdeModulePkg/dec: Add PcdRecoveryFileName PCD. 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: Sun, 09 Oct 2016 02:06:32 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable All serials Reviewed-by: Ruiyu Ni Thanks/Ray > -----Original Message----- > From: Yao, Jiewen > Sent: Sunday, October 9, 2016 9:28 AM > To: edk2-devel@lists.01.org > Cc: Tian, Feng ; Zeng, Star ; > Gao, Liming ; Dong, Eric ; Ni, > Ruiyu > Subject: [PATCH V2 1/3] MdeModulePkg/dec: Add PcdRecoveryFileName > PCD. >=20 > This PCD is used to indicated the recovery file name. > The previous name - FvMain.Fv is hardcoded in FatPei and CdExpressPei. > It does not make sense to force the name. >=20 > Now a platform may use any recovery file name. >=20 > Cc: Feng Tian > Cc: Star Zeng > Cc: Liming Gao > Cc: Eric Dong > Cc: Ruiyu Ni > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Jiewen Yao > --- > MdeModulePkg/MdeModulePkg.dec | 6 ++++++ > 1 file changed, 6 insertions(+) >=20 > diff --git a/MdeModulePkg/MdeModulePkg.dec > b/MdeModulePkg/MdeModulePkg.dec index 1e88568..76b4e1b 100644 > --- a/MdeModulePkg/MdeModulePkg.dec > +++ b/MdeModulePkg/MdeModulePkg.dec > @@ -1645,6 +1645,12 @@ > # @Prompt Enable fast PS2 detection >=20 > gEfiMdeModulePkgTokenSpaceGuid.PcdFastPS2Detection|FALSE|BOOLEAN > |0x30001044 >=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. > + > + > gEfiMdeModulePkgTokenSpaceGuid.PcdRecoveryFileName|L"FVMAIN.FV"| > VOID*| > + 0x30001045 > + > [PcdsPatchableInModule] > ## Specify memory size with page number for PEI code when > # Loading Module at Fixed Address feature is enabled. > -- > 2.7.4.windows.1