]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
MdeModulePkg: Removing ipf which is no longer supported from edk2.
[mirror_edk2.git] / MdeModulePkg / Universal / CapsuleRuntimeDxe / CapsuleRuntimeDxe.inf
1 ## @file
2 # Capsule Runtime Driver produces two UEFI capsule runtime services: (UpdateCapsule, QueryCapsuleCapabilities).
3 #
4 # It installs the Capsule Architectural Protocol defined in PI1.0a to signify
5 # the capsule runtime services are ready.
6 #
7 # Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
8 # This program and the accompanying materials
9 # are licensed and made available under the terms and conditions of the BSD License
10 # which accompanies this distribution. The full text of the license may be found at
11 # http://opensource.org/licenses/bsd-license.php
12 #
13 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #
16 ##
17
18 [Defines]
19 INF_VERSION = 0x00010005
20 BASE_NAME = CapsuleRuntimeDxe
21 MODULE_UNI_FILE = CapsuleRuntimeDxe.uni
22 FILE_GUID = 42857F0A-13F2-4B21-8A23-53D3F714B840
23 MODULE_TYPE = DXE_RUNTIME_DRIVER
24 VERSION_STRING = 1.0
25 ENTRY_POINT = CapsuleServiceInitialize
26
27 #
28 # The following information is for reference only and not required by the build tools.
29 #
30 # VALID_ARCHITECTURES = IA32 X64 EBC ARM AARCH64
31 #
32
33 [Sources]
34 CapsuleService.c
35 CapsuleService.h
36
37 [Sources.Ia32, Sources.EBC, Sources.ARM, Sources.AARCH64]
38 SaveLongModeContext.c
39 CapsuleReset.c
40
41 [Sources.X64]
42 X64/SaveLongModeContext.c
43 CapsuleReset.c
44
45 [Sources.ARM, Sources.AARCH64]
46 SaveLongModeContext.c
47 Arm/CapsuleReset.c
48
49 [Packages]
50 MdePkg/MdePkg.dec
51 MdeModulePkg/MdeModulePkg.dec
52
53 [LibraryClasses]
54 UefiBootServicesTableLib
55 PcdLib
56 DebugLib
57 UefiRuntimeServicesTableLib
58 UefiDriverEntryPoint
59 CapsuleLib
60 UefiRuntimeLib
61 BaseLib
62 PrintLib
63 BaseMemoryLib
64
65 [LibraryClasses.X64]
66 UefiLib
67 BaseMemoryLib
68
69 [LibraryClasses.ARM, LibraryClasses.AARCH64]
70 CacheMaintenanceLib
71
72 [Guids]
73 ## SOMETIMES_PRODUCES ## Variable:L"CapsuleUpdateData" # (Process across reset capsule image) for capsule updated data
74 ## SOMETIMES_PRODUCES ## Variable:L"CapsuleLongModeBuffer" # The long mode buffer used by IA32 Capsule PEIM to call X64 CapsuleCoalesce code to handle >4GB capsule blocks
75 gEfiCapsuleVendorGuid
76 gEfiFmpCapsuleGuid ## SOMETIMES_CONSUMES ## GUID # FMP capsule GUID
77
78 [Protocols]
79 gEfiCapsuleArchProtocolGuid ## PRODUCES
80
81 [Protocols.X64]
82 ## UNDEFINED ## NOTIFY
83 ## SOMETIMES_CONSUMES
84 gEdkiiVariableLockProtocolGuid
85
86 [FeaturePcd]
87 gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset ## CONSUMES
88
89 [FeaturePcd.X64]
90 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode ## CONSUMES
91
92 [Pcd]
93 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule ## SOMETIMES_CONSUMES
94 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule ## SOMETIMES_CONSUMES # Populate Image requires reset support.
95
96 [Pcd.X64]
97 gEfiMdeModulePkgTokenSpaceGuid.PcdCapsulePeiLongModeStackSize ## SOMETIMES_CONSUMES
98 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable ## SOMETIMES_CONSUMES
99
100 [Depex]
101 gEfiVariableWriteArchProtocolGuid # Depends on variable write functionality to produce capsule data variable
102
103 # [Hob.X64]
104 # UNDEFINED ## SOMETIMES_CONSUMES # CPU
105
106 [UserExtensions.TianoCore."ExtraFiles"]
107 CapsuleRuntimeDxeExtra.uni