]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/CapsulePei/CapsulePei.inf
MdeModulePkg: Replace BSD License with BSD+Patent License
[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
46 PeiServicesLib\r
47 PeimEntryPoint\r
48 DebugLib\r
49 PeiServicesTablePointerLib\r
50 PrintLib\r
4e4f13d2 51 ReportStatusCodeLib\r
52\r
53[LibraryClasses.IA32]\r
ab7017fe 54 PeCoffGetEntryPointLib\r
55 PcdLib\r
933d80a1 56 DebugAgentLib\r
da58b0db 57\r
58[Guids]\r
6036e94d
SZ
59 ## SOMETIMES_CONSUMES ## Variable:L"CapsuleUpdateData"\r
60 ## SOMETIMES_CONSUMES ## Variable:L"CapsuleLongModeBuffer"\r
61 gEfiCapsuleVendorGuid\r
da58b0db 62\r
da58b0db 63[Ppis]\r
6036e94d 64 gEfiPeiReadOnlyVariable2PpiGuid ## CONSUMES\r
09d46995 65 gEfiPeiCapsulePpiGuid ## PRODUCES\r
d1102dba
LG
66\r
67[Ppis.IA32]\r
6036e94d 68 gEfiPeiLoadFilePpiGuid ## SOMETIMES_CONSUMES\r
4e4f13d2 69\r
378175d2 70[Pcd.IA32]\r
6036e94d
SZ
71 gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleCoalesceFile ## SOMETIMES_CONSUMES\r
72 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable ## SOMETIMES_CONSUMES\r
89a286ce 73 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask ## CONSUMES\r
378175d2 74\r
4e4f13d2 75[FeaturePcd.IA32]\r
6036e94d 76 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode ## CONSUMES\r
da58b0db 77\r
78[Depex]\r
79 gEfiPeiReadOnlyVariable2PpiGuid\r
80\r
6036e94d
SZ
81# [BootMode]\r
82# FLASH_UPDATE ## SOMETIMES_CONSUMES\r
83\r
84# [Hob.IA32]\r
85# UNDEFINED ## SOMETIMES_CONSUMES # CPU\r
86\r
87# [Hob]\r
88# UNDEFINED ## SOMETIMES_PRODUCES # UEFI_CAPSULE\r
89\r
da58b0db 90\r
6036e94d
SZ
91[UserExtensions.TianoCore."ExtraFiles"]\r
92 CapsulePeiExtra.uni\r