DEPEX from PEI storage stack. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1777 BootInRecoveryMode Ppi dependency should be removed from PEI storage stack drivers. Besides recovery, more features are using the storage stack. Platform can apply Ppi dependency in Recovery FV which contains full storage driver stack. Platform storage stack modules, such as host controller init PEI module, should also remove this dependency. Cc: Ray Ni <ray.ni@intel.com> Cc: Hao A Wu <hao.a.wu@intel.com> Signed-off-by: Wei6 Xu <wei6.xu@intel.com> Reviewed-by: Hao A Wu <hao.a.wu@intel.com> Reviewed-by: Chao B Zhang <chao.b.zhang@intel.com>
69 lines
1.6 KiB
INI
69 lines
1.6 KiB
INI
## @file
|
|
# PeiCdExpress recovery module.
|
|
#
|
|
# This module reads data from CDROM device by all installed block IO ppi and
|
|
# finds whether there is Recovery data in the device. If it finds recovery
|
|
# data, it will install Device Recovery Module PPI.
|
|
#
|
|
# Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>
|
|
#
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
#
|
|
##
|
|
|
|
[Defines]
|
|
INF_VERSION = 0x00010005
|
|
BASE_NAME = CdExpressPei
|
|
MODULE_UNI_FILE = CdExpressPei.uni
|
|
FILE_GUID = 31e147a6-d39a-4147-9da3-befd4d523243
|
|
MODULE_TYPE = PEIM
|
|
VERSION_STRING = 1.0
|
|
|
|
ENTRY_POINT = CdExpressPeimEntry
|
|
|
|
#
|
|
# The following information is for reference only and not required by the build tools.
|
|
#
|
|
# VALID_ARCHITECTURES = IA32 X64 EBC
|
|
#
|
|
|
|
[Sources]
|
|
PeiCdExpress.c
|
|
PeiCdExpress.h
|
|
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
[LibraryClasses]
|
|
BaseMemoryLib
|
|
PeimEntryPoint
|
|
DebugLib
|
|
PeiServicesTablePointerLib
|
|
PeiServicesLib
|
|
MemoryAllocationLib
|
|
PcdLib
|
|
|
|
[Guids]
|
|
gRecoveryOnDataCdGuid ## CONSUMES ## UNDEFINED # Indicate the recovery device type
|
|
|
|
|
|
[Ppis]
|
|
## NOTIFY
|
|
## CONSUMES
|
|
gEfiPeiVirtualBlockIoPpiGuid
|
|
## NOTIFY
|
|
## CONSUMES
|
|
gEfiPeiVirtualBlockIo2PpiGuid
|
|
gEfiPeiDeviceRecoveryModulePpiGuid ## PRODUCES
|
|
|
|
[Pcd]
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdRecoveryFileName ## CONSUMES
|
|
|
|
[Depex]
|
|
gEfiPeiMemoryDiscoveredPpiGuid
|
|
|
|
[UserExtensions.TianoCore."ExtraFiles"]
|
|
CdExpressPeiExtra.uni
|