]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
MdeModulePkg/CapsuleRuntimeDxe: Add cache flush for IA32 and X64
[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 - 2019, 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
40 [Sources.Ia32, Sources.X64, Sources.ARM, Sources.AARCH64]
41 CapsuleCache.c
42
43 [Sources.Ia32, Sources.X64, Sources.EBC]
44 CapsuleReset.c
45
46 [Sources.ARM, Sources.AARCH64]
47 Arm/CapsuleReset.c
48
49 [Sources.EBC]
50 CapsuleCacheNull.c
51
52 [Sources.X64]
53 X64/SaveLongModeContext.c
54
55 [Packages]
56 MdePkg/MdePkg.dec
57 MdeModulePkg/MdeModulePkg.dec
58
59 [LibraryClasses]
60 UefiBootServicesTableLib
61 PcdLib
62 DebugLib
63 UefiRuntimeServicesTableLib
64 UefiDriverEntryPoint
65 CapsuleLib
66 UefiRuntimeLib
67 BaseLib
68 PrintLib
69 BaseMemoryLib
70 CacheMaintenanceLib
71
72 [LibraryClasses.X64]
73 UefiLib
74 BaseMemoryLib
75
76 [Guids]
77 ## SOMETIMES_PRODUCES ## Variable:L"CapsuleUpdateData" # (Process across reset capsule image) for capsule updated data
78 ## SOMETIMES_PRODUCES ## Variable:L"CapsuleLongModeBuffer" # The long mode buffer used by IA32 Capsule PEIM to call X64 CapsuleCoalesce code to handle >4GB capsule blocks
79 gEfiCapsuleVendorGuid
80 gEfiFmpCapsuleGuid ## SOMETIMES_CONSUMES ## GUID # FMP capsule GUID
81
82 [Protocols]
83 gEfiCapsuleArchProtocolGuid ## PRODUCES
84
85 [Protocols.X64]
86 ## UNDEFINED ## NOTIFY
87 ## SOMETIMES_CONSUMES
88 gEdkiiVariableLockProtocolGuid
89
90 [FeaturePcd]
91 gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset ## CONSUMES
92
93 [FeaturePcd.X64]
94 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode ## CONSUMES
95
96 [Pcd]
97 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule ## SOMETIMES_CONSUMES
98 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule ## SOMETIMES_CONSUMES # Populate Image requires reset support.
99
100 [Pcd.X64]
101 gEfiMdeModulePkgTokenSpaceGuid.PcdCapsulePeiLongModeStackSize ## SOMETIMES_CONSUMES
102 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable ## SOMETIMES_CONSUMES
103
104 [Depex]
105 gEfiVariableWriteArchProtocolGuid # Depends on variable write functionality to produce capsule data variable
106
107 # [Hob.X64]
108 # UNDEFINED ## SOMETIMES_CONSUMES # CPU
109
110 [UserExtensions.TianoCore."ExtraFiles"]
111 CapsuleRuntimeDxeExtra.uni