]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/CapsulePei/CapsulePei.inf
MdeModulePkg/Universal/CapsulePei: Add support for PCD PcdPteMemoryEncryptionAddressO...
[mirror_edk2.git] / MdeModulePkg / Universal / CapsulePei / CapsulePei.inf
1 ## @file
2 # Capsule update PEIM supports EFI and UEFI.
3 #
4 # Caution: This module requires additional review when modified.
5 # This driver will have external input - capsule image.
6 # This external input must be validated carefully to avoid security issue like
7 # buffer overflow, integer overflow.
8 #
9 # Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
10 # Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>
11 #
12 # This program and the accompanying materials
13 # are licensed and made available under the terms and conditions
14 # of the BSD License which accompanies this distribution. The
15 # full text of the license may be found at
16 # http://opensource.org/licenses/bsd-license.php
17 #
18 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
19 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
20 #
21 ##
22
23 [Defines]
24 INF_VERSION = 0x00010005
25 BASE_NAME = CapsulePei
26 MODULE_UNI_FILE = CapsulePei.uni
27 FILE_GUID = C779F6D8-7113-4AA1-9648-EB1633C7D53B
28 MODULE_TYPE = PEIM
29 VERSION_STRING = 1.0
30
31 ENTRY_POINT = CapsuleMain
32
33 #
34 # The following information is for reference only and not required by the build tools.
35 #
36 # VALID_ARCHITECTURES = IA32 X64 IPF EBC
37 #
38
39 [Sources]
40 UefiCapsule.c
41 Capsule.h
42 Common/CapsuleCoalesce.c
43
44 [Packages]
45 MdePkg/MdePkg.dec
46 MdeModulePkg/MdeModulePkg.dec
47
48
49 [LibraryClasses]
50 BaseLib
51 HobLib
52 BaseMemoryLib
53 PeiServicesLib
54 PeimEntryPoint
55 DebugLib
56 PeiServicesTablePointerLib
57 PrintLib
58 ReportStatusCodeLib
59
60 [LibraryClasses.IA32]
61 PeCoffGetEntryPointLib
62 PcdLib
63 DebugAgentLib
64
65 [Guids]
66 ## SOMETIMES_CONSUMES ## Variable:L"CapsuleUpdateData"
67 ## SOMETIMES_CONSUMES ## Variable:L"CapsuleLongModeBuffer"
68 gEfiCapsuleVendorGuid
69
70 [Ppis]
71 gEfiPeiReadOnlyVariable2PpiGuid ## CONSUMES
72 gEfiPeiCapsulePpiGuid ## PRODUCES
73
74 [Ppis.IA32]
75 gEfiPeiLoadFilePpiGuid ## SOMETIMES_CONSUMES
76
77 [Pcd.IA32]
78 gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleCoalesceFile ## SOMETIMES_CONSUMES
79 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable ## SOMETIMES_CONSUMES
80 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask ## CONSUMES
81
82 [FeaturePcd.IA32]
83 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode ## CONSUMES
84
85 [Depex]
86 gEfiPeiReadOnlyVariable2PpiGuid
87
88 # [BootMode]
89 # FLASH_UPDATE ## SOMETIMES_CONSUMES
90
91 # [Hob.IA32]
92 # UNDEFINED ## SOMETIMES_CONSUMES # CPU
93
94 # [Hob]
95 # UNDEFINED ## SOMETIMES_PRODUCES # UEFI_CAPSULE
96
97
98 [UserExtensions.TianoCore."ExtraFiles"]
99 CapsulePeiExtra.uni