]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg/dec: Add PcdRecoveryFileName PCD.
authorJiewen Yao <jiewen.yao@intel.com>
Sat, 8 Oct 2016 01:54:33 +0000 (09:54 +0800)
committerJiewen Yao <jiewen.yao@intel.com>
Wed, 12 Oct 2016 01:15:22 +0000 (09:15 +0800)
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.

Tested-by: Michael D Kinney <michael.d.kinney@intel.com>
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>
Reviewed-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
MdeModulePkg/MdeModulePkg.dec

index f870b8314fec4ab46d97c3724751e41086122867..6d13760d697e716b82f6af430b1836d65fe12414 100644 (file)
   # @Prompt Enable fast PS2 detection\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFastPS2Detection|FALSE|BOOLEAN|0x30001044\r
 \r
+  ## This is recover file name in PEI phase.\r
+  #  The file must be in the root directory.\r
+  #  The file name must be the 8.3 format.\r
+  #  The PCD data must be in UNICODE format.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdRecoveryFileName|L"FVMAIN.FV"|VOID*|0x30001045\r
+\r
 [PcdsPatchableInModule]\r
   ## Specify memory size with page number for PEI code when\r
   #  Loading Module at Fixed Address feature is enabled.\r