]>
Commit | Line | Data |
---|---|---|
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 |
12 | # This program and the accompanying materials\r | |
13 | # are licensed and made available under the terms and conditions\r | |
14 | # of the BSD License which accompanies this distribution. The\r | |
15 | # full text of the license may be found at\r | |
16 | # http://opensource.org/licenses/bsd-license.php\r | |
17 | #\r | |
18 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
19 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
20 | #\r | |
21 | ##\r | |
22 | \r | |
23 | [Defines]\r | |
24 | INF_VERSION = 0x00010005\r | |
25 | BASE_NAME = CapsulePei\r | |
6036e94d | 26 | MODULE_UNI_FILE = CapsulePei.uni\r |
da58b0db | 27 | FILE_GUID = C779F6D8-7113-4AA1-9648-EB1633C7D53B\r |
28 | MODULE_TYPE = PEIM\r | |
29 | VERSION_STRING = 1.0\r | |
30 | \r | |
31 | ENTRY_POINT = CapsuleMain\r | |
32 | \r | |
33 | #\r | |
34 | # The following information is for reference only and not required by the build tools.\r | |
35 | #\r | |
de005223 | 36 | # VALID_ARCHITECTURES = IA32 X64 EBC\r |
da58b0db | 37 | #\r |
38 | \r | |
39 | [Sources]\r | |
40 | UefiCapsule.c\r | |
41 | Capsule.h\r | |
d1102dba | 42 | Common/CapsuleCoalesce.c\r |
da58b0db | 43 | \r |
44 | [Packages]\r | |
45 | MdePkg/MdePkg.dec\r | |
46 | MdeModulePkg/MdeModulePkg.dec\r | |
47 | \r | |
48 | \r | |
49 | [LibraryClasses]\r | |
359cb1a3 | 50 | BaseLib\r |
da58b0db | 51 | HobLib\r |
52 | BaseMemoryLib\r | |
53 | PeiServicesLib\r | |
54 | PeimEntryPoint\r | |
55 | DebugLib\r | |
56 | PeiServicesTablePointerLib\r | |
57 | PrintLib\r | |
4e4f13d2 | 58 | ReportStatusCodeLib\r |
59 | \r | |
60 | [LibraryClasses.IA32]\r | |
ab7017fe | 61 | PeCoffGetEntryPointLib\r |
62 | PcdLib\r | |
933d80a1 | 63 | DebugAgentLib\r |
da58b0db | 64 | \r |
65 | [Guids]\r | |
6036e94d SZ |
66 | ## SOMETIMES_CONSUMES ## Variable:L"CapsuleUpdateData"\r |
67 | ## SOMETIMES_CONSUMES ## Variable:L"CapsuleLongModeBuffer"\r | |
68 | gEfiCapsuleVendorGuid\r | |
da58b0db | 69 | \r |
da58b0db | 70 | [Ppis]\r |
6036e94d | 71 | gEfiPeiReadOnlyVariable2PpiGuid ## CONSUMES\r |
09d46995 | 72 | gEfiPeiCapsulePpiGuid ## PRODUCES\r |
d1102dba LG |
73 | \r |
74 | [Ppis.IA32]\r | |
6036e94d | 75 | gEfiPeiLoadFilePpiGuid ## SOMETIMES_CONSUMES\r |
4e4f13d2 | 76 | \r |
378175d2 | 77 | [Pcd.IA32]\r |
6036e94d SZ |
78 | gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleCoalesceFile ## SOMETIMES_CONSUMES\r |
79 | gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable ## SOMETIMES_CONSUMES\r | |
89a286ce | 80 | gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask ## CONSUMES\r |
378175d2 | 81 | \r |
4e4f13d2 | 82 | [FeaturePcd.IA32]\r |
6036e94d | 83 | gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode ## CONSUMES\r |
da58b0db | 84 | \r |
85 | [Depex]\r | |
86 | gEfiPeiReadOnlyVariable2PpiGuid\r | |
87 | \r | |
6036e94d SZ |
88 | # [BootMode]\r |
89 | # FLASH_UPDATE ## SOMETIMES_CONSUMES\r | |
90 | \r | |
91 | # [Hob.IA32]\r | |
92 | # UNDEFINED ## SOMETIMES_CONSUMES # CPU\r | |
93 | \r | |
94 | # [Hob]\r | |
95 | # UNDEFINED ## SOMETIMES_PRODUCES # UEFI_CAPSULE\r | |
96 | \r | |
da58b0db | 97 | \r |
6036e94d SZ |
98 | [UserExtensions.TianoCore."ExtraFiles"]\r |
99 | CapsulePeiExtra.uni\r |