]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/CapsulePei/CapsulePei.inf
MdeModulePkg/CapsulePei: Optimize the CapsulePei
[mirror_edk2.git] / MdeModulePkg / Universal / CapsulePei / CapsulePei.inf
CommitLineData
da58b0db 1## @file\r
6036e94d 2# Capsule update PEIM supports EFI and UEFI.\r
da58b0db 3#\r
dc204d5a
JY
4# Caution: This module requires additional review when modified.\r
5# This driver will have external input - capsule image.\r
6# This external input must be validated carefully to avoid security issue like\r
7# buffer overflow, integer overflow.\r
8#\r
d1102dba 9# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
89a286ce 10# Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>\r
da58b0db 11#\r
9d510e61 12# SPDX-License-Identifier: BSD-2-Clause-Patent\r
da58b0db 13#\r
14##\r
15\r
16[Defines]\r
17 INF_VERSION = 0x00010005\r
18 BASE_NAME = CapsulePei\r
6036e94d 19 MODULE_UNI_FILE = CapsulePei.uni\r
da58b0db 20 FILE_GUID = C779F6D8-7113-4AA1-9648-EB1633C7D53B\r
21 MODULE_TYPE = PEIM\r
22 VERSION_STRING = 1.0\r
23\r
24 ENTRY_POINT = CapsuleMain\r
25\r
26#\r
27# The following information is for reference only and not required by the build tools.\r
28#\r
de005223 29# VALID_ARCHITECTURES = IA32 X64 EBC\r
da58b0db 30#\r
31\r
32[Sources]\r
33 UefiCapsule.c\r
34 Capsule.h\r
d1102dba 35 Common/CapsuleCoalesce.c\r
da58b0db 36\r
37[Packages]\r
38 MdePkg/MdePkg.dec\r
39 MdeModulePkg/MdeModulePkg.dec\r
40\r
41\r
42[LibraryClasses]\r
359cb1a3 43 BaseLib\r
da58b0db 44 HobLib\r
45 BaseMemoryLib\r
27052c21 46 MemoryAllocationLib\r
da58b0db 47 PeiServicesLib\r
48 PeimEntryPoint\r
49 DebugLib\r
50 PeiServicesTablePointerLib\r
51 PrintLib\r
4e4f13d2 52 ReportStatusCodeLib\r
53\r
54[LibraryClasses.IA32]\r
ab7017fe 55 PeCoffGetEntryPointLib\r
56 PcdLib\r
933d80a1 57 DebugAgentLib\r
da58b0db 58\r
59[Guids]\r
6036e94d
SZ
60 ## SOMETIMES_CONSUMES ## Variable:L"CapsuleUpdateData"\r
61 ## SOMETIMES_CONSUMES ## Variable:L"CapsuleLongModeBuffer"\r
62 gEfiCapsuleVendorGuid\r
da58b0db 63\r
da58b0db 64[Ppis]\r
6036e94d 65 gEfiPeiReadOnlyVariable2PpiGuid ## CONSUMES\r
09d46995 66 gEfiPeiCapsulePpiGuid ## PRODUCES\r
d1102dba
LG
67\r
68[Ppis.IA32]\r
6036e94d 69 gEfiPeiLoadFilePpiGuid ## SOMETIMES_CONSUMES\r
4e4f13d2 70\r
378175d2 71[Pcd.IA32]\r
6036e94d
SZ
72 gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleCoalesceFile ## SOMETIMES_CONSUMES\r
73 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable ## SOMETIMES_CONSUMES\r
89a286ce 74 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask ## CONSUMES\r
378175d2 75\r
4e4f13d2 76[FeaturePcd.IA32]\r
6036e94d 77 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode ## CONSUMES\r
da58b0db 78\r
79[Depex]\r
80 gEfiPeiReadOnlyVariable2PpiGuid\r
81\r
6036e94d
SZ
82# [BootMode]\r
83# FLASH_UPDATE ## SOMETIMES_CONSUMES\r
84\r
85# [Hob.IA32]\r
86# UNDEFINED ## SOMETIMES_CONSUMES # CPU\r
87\r
88# [Hob]\r
89# UNDEFINED ## SOMETIMES_PRODUCES # UEFI_CAPSULE\r
90\r
da58b0db 91\r
6036e94d
SZ
92[UserExtensions.TianoCore."ExtraFiles"]\r
93 CapsulePeiExtra.uni\r