## @file\r
-# Component description file for Capsule module.\r
-#\r
-# Capsule update module supports EFI and UEFI.\r
+# Capsule update PEIM supports EFI and UEFI.\r
#\r
# Caution: This module requires additional review when modified.\r
# This driver will have external input - capsule image.\r
# This external input must be validated carefully to avoid security issue like\r
# buffer overflow, integer overflow.\r
#\r
-# Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
-#\r
-# This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions\r
-# of the BSD License which accompanies this distribution. The\r
-# full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
+# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>\r
#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
##\r
\r
[Defines]\r
INF_VERSION = 0x00010005\r
BASE_NAME = CapsulePei\r
+ MODULE_UNI_FILE = CapsulePei.uni\r
FILE_GUID = C779F6D8-7113-4AA1-9648-EB1633C7D53B\r
MODULE_TYPE = PEIM\r
VERSION_STRING = 1.0\r
#\r
# The following information is for reference only and not required by the build tools.\r
#\r
-# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
+# VALID_ARCHITECTURES = IA32 X64 EBC\r
#\r
\r
[Sources]\r
UefiCapsule.c\r
Capsule.h\r
- Common/CapsuleCoalesce.c \r
+ Common/CapsuleCoalesce.c\r
\r
[Packages]\r
MdePkg/MdePkg.dec\r
\r
\r
[LibraryClasses]\r
+ BaseLib\r
HobLib\r
BaseMemoryLib\r
+ MemoryAllocationLib\r
PeiServicesLib\r
PeimEntryPoint\r
DebugLib\r
DebugAgentLib\r
\r
[Guids]\r
- gEfiCapsuleVendorGuid # ALWAYS_CONSUMED\r
+ ## SOMETIMES_CONSUMES ## Variable:L"CapsuleUpdateData"\r
+ ## SOMETIMES_CONSUMES ## Variable:L"CapsuleLongModeBuffer"\r
+ gEfiCapsuleVendorGuid\r
\r
[Ppis]\r
- gEfiPeiReadOnlyVariable2PpiGuid # PPI ALWAYS_CONSUMED\r
- gPeiCapsulePpiGuid # PPI ALWAYS_CONSUMED\r
- \r
-[Ppis.IA32] \r
- gEfiPeiLoadFilePpiGuid # PPI ALWAYS_CONSUMED\r
+ gEfiPeiReadOnlyVariable2PpiGuid ## CONSUMES\r
+ gEfiPeiCapsulePpiGuid ## PRODUCES\r
\r
-[Pcd.IA32]\r
- gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleCoalesceFile\r
+[Ppis.IA32]\r
+ gEfiPeiLoadFilePpiGuid ## SOMETIMES_CONSUMES\r
\r
[Pcd.IA32]\r
- gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleCoalesceFile ## SOMETIMES_CONSUMES\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable ## SOMETIMES_CONSUMES\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask ## CONSUMES\r
\r
[FeaturePcd.IA32]\r
- gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode ## CONSUMES\r
\r
[Depex]\r
gEfiPeiReadOnlyVariable2PpiGuid\r
\r
+# [BootMode]\r
+# FLASH_UPDATE ## SOMETIMES_CONSUMES\r
+\r
+# [Hob.IA32]\r
+# UNDEFINED ## SOMETIMES_CONSUMES # CPU\r
+\r
+# [Hob]\r
+# UNDEFINED ## SOMETIMES_PRODUCES # UEFI_CAPSULE\r
+\r
\r
+[UserExtensions.TianoCore."ExtraFiles"]\r
+ CapsulePeiExtra.uni\r