2016-09-21 04:40:50 +02:00
|
|
|
## @file
|
|
|
|
# Recovery module.
|
|
|
|
#
|
|
|
|
# Load Recovery capsule and install FV.
|
|
|
|
#
|
|
|
|
# Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
|
|
|
|
#
|
|
|
|
# This program and the accompanying materials
|
|
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
# which accompanies this distribution. The full text of the license may be found at
|
|
|
|
# http://opensource.org/licenses/bsd-license.php
|
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
##
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = RecoveryModuleLoadPei
|
|
|
|
MODULE_UNI_FILE = RecoveryModuleLoadPei.uni
|
|
|
|
FILE_GUID = 4278A574-4769-4D60-B090-DD4916691590
|
|
|
|
MODULE_TYPE = PEIM
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
ENTRY_POINT = InitializeRecoveryModule
|
|
|
|
|
|
|
|
#
|
|
|
|
# The following information is for reference only and not required by the build tools.
|
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
|
|
|
#
|
|
|
|
|
|
|
|
[Sources]
|
2016-12-13 02:38:44 +01:00
|
|
|
RecoveryModuleLoadPei.h
|
2016-09-21 04:40:50 +02:00
|
|
|
RecoveryModuleLoadPei.c
|
|
|
|
ParseConfigProfile.c
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
SignedCapsulePkg/SignedCapsulePkg.dec
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
PeimEntryPoint
|
|
|
|
DebugLib
|
|
|
|
HobLib
|
|
|
|
BaseMemoryLib
|
|
|
|
MemoryAllocationLib
|
|
|
|
EdkiiSystemCapsuleLib
|
|
|
|
IniParsingLib
|
|
|
|
PrintLib
|
|
|
|
|
|
|
|
[Ppis]
|
|
|
|
gEfiPeiRecoveryModulePpiGuid ## PRODUCES
|
|
|
|
gEfiPeiDeviceRecoveryModulePpiGuid ## CONSUMES
|
|
|
|
|
|
|
|
[Guids]
|
|
|
|
gEfiFmpCapsuleGuid ## SOMETIMES_CONSUMES ## GUID
|
|
|
|
|
|
|
|
[Pcd]
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSystemFmpCapsuleImageTypeIdGuid ## CONSUMES
|
|
|
|
gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareFileGuid ## CONSUMES
|
|
|
|
|
|
|
|
[FeaturePcd]
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport ## CONSUMES
|
|
|
|
|
|
|
|
[depex]
|
|
|
|
gEfiPeiBootInRecoveryModePpiGuid
|
|
|
|
|
|
|
|
[UserExtensions.TianoCore."ExtraFiles"]
|
|
|
|
RecoveryModuleLoadPeiExtra.uni
|
|
|
|
|