2011-07-12 22:35:46 +02:00
|
|
|
## @file
|
2014-08-28 08:34:06 +02:00
|
|
|
# Capsule update PEIM supports EFI and UEFI.
|
2011-07-12 22:35:46 +02:00
|
|
|
#
|
2012-06-12 10:28:43 +02:00
|
|
|
# Caution: This module requires additional review when modified.
|
|
|
|
# This driver will have external input - capsule image.
|
|
|
|
# This external input must be validated carefully to avoid security issue like
|
|
|
|
# buffer overflow, integer overflow.
|
|
|
|
#
|
2015-05-08 09:43:35 +02:00
|
|
|
# Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
|
2011-07-12 22:35:46 +02:00
|
|
|
#
|
|
|
|
# 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 = CapsulePei
|
2014-08-28 08:34:06 +02:00
|
|
|
MODULE_UNI_FILE = CapsulePei.uni
|
2011-07-12 22:35:46 +02:00
|
|
|
FILE_GUID = C779F6D8-7113-4AA1-9648-EB1633C7D53B
|
|
|
|
MODULE_TYPE = PEIM
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
|
|
|
|
ENTRY_POINT = CapsuleMain
|
|
|
|
|
|
|
|
#
|
|
|
|
# The following information is for reference only and not required by the build tools.
|
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
|
|
|
#
|
|
|
|
|
|
|
|
[Sources]
|
|
|
|
UefiCapsule.c
|
|
|
|
Capsule.h
|
2011-09-02 13:34:35 +02:00
|
|
|
Common/CapsuleCoalesce.c
|
2011-07-12 22:35:46 +02:00
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
HobLib
|
|
|
|
BaseMemoryLib
|
|
|
|
PeiServicesLib
|
|
|
|
PeimEntryPoint
|
|
|
|
DebugLib
|
|
|
|
PeiServicesTablePointerLib
|
|
|
|
PrintLib
|
2011-09-05 11:53:37 +02:00
|
|
|
ReportStatusCodeLib
|
|
|
|
|
|
|
|
[LibraryClasses.IA32]
|
2011-09-02 13:34:35 +02:00
|
|
|
PeCoffGetEntryPointLib
|
|
|
|
PcdLib
|
2012-08-27 10:36:23 +02:00
|
|
|
DebugAgentLib
|
2011-07-12 22:35:46 +02:00
|
|
|
|
|
|
|
[Guids]
|
2014-08-28 08:34:06 +02:00
|
|
|
## SOMETIMES_CONSUMES ## Variable:L"CapsuleUpdateData"
|
|
|
|
## SOMETIMES_CONSUMES ## Variable:L"CapsuleLongModeBuffer"
|
|
|
|
gEfiCapsuleVendorGuid
|
2011-07-12 22:35:46 +02:00
|
|
|
|
|
|
|
[Ppis]
|
2014-08-28 08:34:06 +02:00
|
|
|
gEfiPeiReadOnlyVariable2PpiGuid ## CONSUMES
|
2015-05-08 09:43:35 +02:00
|
|
|
gEfiPeiCapsulePpiGuid ## PRODUCES
|
2011-09-05 11:53:37 +02:00
|
|
|
|
|
|
|
[Ppis.IA32]
|
2014-08-28 08:34:06 +02:00
|
|
|
gEfiPeiLoadFilePpiGuid ## SOMETIMES_CONSUMES
|
2011-09-05 11:53:37 +02:00
|
|
|
|
2011-09-21 05:45:35 +02:00
|
|
|
[Pcd.IA32]
|
2014-08-28 08:34:06 +02:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleCoalesceFile ## SOMETIMES_CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable ## SOMETIMES_CONSUMES
|
2011-09-21 05:45:35 +02:00
|
|
|
|
2011-09-05 11:53:37 +02:00
|
|
|
[FeaturePcd.IA32]
|
2014-08-28 08:34:06 +02:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode ## CONSUMES
|
2011-07-12 22:35:46 +02:00
|
|
|
|
|
|
|
[Depex]
|
|
|
|
gEfiPeiReadOnlyVariable2PpiGuid
|
|
|
|
|
2014-08-28 08:34:06 +02:00
|
|
|
# [BootMode]
|
|
|
|
# FLASH_UPDATE ## SOMETIMES_CONSUMES
|
|
|
|
|
|
|
|
# [Hob.IA32]
|
|
|
|
# UNDEFINED ## SOMETIMES_CONSUMES # CPU
|
|
|
|
|
|
|
|
# [Hob]
|
|
|
|
# UNDEFINED ## SOMETIMES_PRODUCES # UEFI_CAPSULE
|
|
|
|
|
2011-07-12 22:35:46 +02:00
|
|
|
|
2014-08-28 08:34:06 +02:00
|
|
|
[UserExtensions.TianoCore."ExtraFiles"]
|
|
|
|
CapsulePeiExtra.uni
|