From: Jiewen Yao <jiewen.yao@intel.com>
To: edk2-devel@lists.01.org
Cc: Feng Tian <feng.tian@intel.com>, Star Zeng <star.zeng@intel.com>,
Liming Gao <liming.gao@intel.com>,
Eric Dong <eric.dong@intel.com>, Ruiyu Ni <ruiyu.ni@intel.com>
Subject: [PATCH 1/3] MdeModulePkg/dec: Add PcdRecoveryFileName PCD.
Date: Sat, 8 Oct 2016 10:59:55 +0800 [thread overview]
Message-ID: <1475895597-156-2-git-send-email-jiewen.yao@intel.com> (raw)
In-Reply-To: <1475895597-156-1-git-send-email-jiewen.yao@intel.com>
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 <feng.tian@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
---
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
next prev parent reply other threads:[~2016-10-08 3:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-08 2:59 [PATCH 0/3] Add PcdRecoveryFileName PCD Jiewen Yao
2016-10-08 2:59 ` Jiewen Yao [this message]
2016-10-09 0:54 ` [PATCH 1/3] MdeModulePkg/dec: " Kinney, Michael D
2016-10-09 0:56 ` Yao, Jiewen
2016-10-08 2:59 ` [PATCH 2/3] MdeModulePkg/CdExpressPei: Use " Jiewen Yao
2016-10-08 2:59 ` [PATCH 3/3] FatPkg/FatPei: " Jiewen Yao
2016-10-08 3:02 ` [PATCH 0/3] Add " Tian, Feng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1475895597-156-2-git-send-email-jiewen.yao@intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox