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 - 2019, Intel Corporation. All rights reserved.<BR>
|
---|
10 | # Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>
|
---|
11 | #
|
---|
12 | # SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
13 | #
|
---|
14 | ##
|
---|
15 |
|
---|
16 | [Defines]
|
---|
17 | INF_VERSION = 0x00010005
|
---|
18 | BASE_NAME = CapsulePei
|
---|
19 | MODULE_UNI_FILE = CapsulePei.uni
|
---|
20 | FILE_GUID = C779F6D8-7113-4AA1-9648-EB1633C7D53B
|
---|
21 | MODULE_TYPE = PEIM
|
---|
22 | VERSION_STRING = 1.0
|
---|
23 |
|
---|
24 | ENTRY_POINT = CapsuleMain
|
---|
25 |
|
---|
26 | #
|
---|
27 | # The following information is for reference only and not required by the build tools.
|
---|
28 | #
|
---|
29 | # VALID_ARCHITECTURES = IA32 X64 EBC
|
---|
30 | #
|
---|
31 |
|
---|
32 | [Sources]
|
---|
33 | UefiCapsule.c
|
---|
34 | Capsule.h
|
---|
35 | Common/CapsuleCoalesce.c
|
---|
36 | Common/CommonHeader.h
|
---|
37 |
|
---|
38 | [Packages]
|
---|
39 | MdePkg/MdePkg.dec
|
---|
40 | MdeModulePkg/MdeModulePkg.dec
|
---|
41 |
|
---|
42 |
|
---|
43 | [LibraryClasses]
|
---|
44 | BaseLib
|
---|
45 | HobLib
|
---|
46 | BaseMemoryLib
|
---|
47 | MemoryAllocationLib
|
---|
48 | PeiServicesLib
|
---|
49 | PeimEntryPoint
|
---|
50 | DebugLib
|
---|
51 | PeiServicesTablePointerLib
|
---|
52 | PrintLib
|
---|
53 | ReportStatusCodeLib
|
---|
54 |
|
---|
55 | [LibraryClasses.IA32]
|
---|
56 | PeCoffGetEntryPointLib
|
---|
57 | PcdLib
|
---|
58 | DebugAgentLib
|
---|
59 |
|
---|
60 | [Guids]
|
---|
61 | ## SOMETIMES_CONSUMES ## Variable:L"CapsuleUpdateData"
|
---|
62 | ## SOMETIMES_CONSUMES ## Variable:L"CapsuleLongModeBuffer"
|
---|
63 | gEfiCapsuleVendorGuid
|
---|
64 |
|
---|
65 | [Ppis]
|
---|
66 | gEfiPeiReadOnlyVariable2PpiGuid ## CONSUMES
|
---|
67 | gEfiPeiCapsulePpiGuid ## PRODUCES
|
---|
68 |
|
---|
69 | [Ppis.IA32]
|
---|
70 | gEfiPeiLoadFilePpiGuid ## SOMETIMES_CONSUMES
|
---|
71 |
|
---|
72 | [Pcd.IA32]
|
---|
73 | gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleCoalesceFile ## SOMETIMES_CONSUMES
|
---|
74 | gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable ## SOMETIMES_CONSUMES
|
---|
75 | gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask ## CONSUMES
|
---|
76 |
|
---|
77 | [FeaturePcd.IA32]
|
---|
78 | gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode ## CONSUMES
|
---|
79 |
|
---|
80 | [Depex]
|
---|
81 | gEfiPeiReadOnlyVariable2PpiGuid
|
---|
82 |
|
---|
83 | # [BootMode]
|
---|
84 | # FLASH_UPDATE ## SOMETIMES_CONSUMES
|
---|
85 |
|
---|
86 | # [Hob.IA32]
|
---|
87 | # UNDEFINED ## SOMETIMES_CONSUMES # CPU
|
---|
88 |
|
---|
89 | # [Hob]
|
---|
90 | # UNDEFINED ## SOMETIMES_PRODUCES # UEFI_CAPSULE
|
---|
91 |
|
---|
92 |
|
---|
93 | [UserExtensions.TianoCore."ExtraFiles"]
|
---|
94 | CapsulePeiExtra.uni
|
---|