From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 2D5281A1EDC for ; Fri, 7 Oct 2016 20:00:10 -0700 (PDT) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP; 07 Oct 2016 20:00:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,310,1473145200"; d="scan'208";a="177746803" Received: from jyao1-mobl.ccr.corp.intel.com ([10.239.193.66]) by fmsmga004.fm.intel.com with ESMTP; 07 Oct 2016 20:00:07 -0700 From: Jiewen Yao To: edk2-devel@lists.01.org Cc: Feng Tian , Star Zeng , Liming Gao , Eric Dong , Ruiyu Ni Date: Sat, 8 Oct 2016 10:59:55 +0800 Message-Id: <1475895597-156-2-git-send-email-jiewen.yao@intel.com> X-Mailer: git-send-email 2.7.4.windows.1 In-Reply-To: <1475895597-156-1-git-send-email-jiewen.yao@intel.com> References: <1475895597-156-1-git-send-email-jiewen.yao@intel.com> Subject: [PATCH 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: Sat, 08 Oct 2016 03:00:10 -0000 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. Now a platform may use any recovery file name. 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(+) diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 1e88568..0d0691a 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -1674,6 +1674,12 @@ # @ValidList 0x80000001 | 0 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressSmmCodePageNumber|0|UINT32|0x0000002c + ## 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*|0x00001019 + [PcdsDynamic, PcdsDynamicEx] ## This dynamic PCD hold an address to point to private data structure used in DxeS3BootScriptLib library # instance which records the S3 boot script table start address, length, etc. To introduce this PCD is -- 2.7.4.windows.1