]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[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 - 2020, Intel Corporation. All rights reserved.<BR>
8 # Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
9 # Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
10 # SPDX-License-Identifier: BSD-2-Clause-Patent
11 #
12 ##
13
14 [Defines]
15 INF_VERSION = 0x00010005
16 BASE_NAME = CapsuleRuntimeDxe
17 MODULE_UNI_FILE = CapsuleRuntimeDxe.uni
18 FILE_GUID = 42857F0A-13F2-4B21-8A23-53D3F714B840
19 MODULE_TYPE = DXE_RUNTIME_DRIVER
20 VERSION_STRING = 1.0
21 ENTRY_POINT = CapsuleServiceInitialize
22
23 #
24 # The following information is for reference only and not required by the build tools.
25 #
26 # VALID_ARCHITECTURES = IA32 X64 EBC ARM AARCH64 RISCV64 LOONGARCH64
27 #
28
29 [Sources]
30 CapsuleService.c
31 CapsuleService.h
32
33 [Sources.Ia32, Sources.EBC, Sources.ARM, Sources.AARCH64, Sources.RISCV64, Sources.LOONGARCH64]
34 SaveLongModeContext.c
35
36 [Sources.Ia32, Sources.X64, Sources.ARM, Sources.AARCH64, Sources.RISCV64, Sources.LOONGARCH64]
37 CapsuleCache.c
38
39 [Sources.Ia32, Sources.X64, Sources.EBC, Sources.RISCV64, Sources.LOONGARCH64]
40 CapsuleReset.c
41
42 [Sources.ARM, Sources.AARCH64]
43 Arm/CapsuleReset.c
44
45 [Sources.EBC]
46 CapsuleCacheNull.c
47
48 [Sources.X64]
49 X64/SaveLongModeContext.c
50
51 [Packages]
52 MdePkg/MdePkg.dec
53 MdeModulePkg/MdeModulePkg.dec
54
55 [LibraryClasses]
56 UefiBootServicesTableLib
57 PcdLib
58 DebugLib
59 UefiRuntimeServicesTableLib
60 UefiDriverEntryPoint
61 CapsuleLib
62 UefiRuntimeLib
63 BaseLib
64 PrintLib
65 BaseMemoryLib
66 CacheMaintenanceLib
67
68 [LibraryClasses.X64]
69 UefiLib
70 BaseMemoryLib
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 gEfiMdeModulePkgTokenSpaceGuid.PcdSupportProcessCapsuleAtRuntime ## CONSUMES
89
90 [FeaturePcd.X64]
91 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode ## CONSUMES
92
93 [Pcd]
94 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule ## SOMETIMES_CONSUMES
95 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule ## SOMETIMES_CONSUMES # Populate Image requires reset support.
96 gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleInRamSupport ## CONSUMES
97
98 [Pcd.X64]
99 gEfiMdeModulePkgTokenSpaceGuid.PcdCapsulePeiLongModeStackSize ## SOMETIMES_CONSUMES
100 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable ## SOMETIMES_CONSUMES
101
102 [Depex]
103 gEfiVariableWriteArchProtocolGuid # Depends on variable write functionality to produce capsule data variable
104
105 # [Hob.X64]
106 # UNDEFINED ## SOMETIMES_CONSUMES # CPU
107
108 [UserExtensions.TianoCore."ExtraFiles"]
109 CapsuleRuntimeDxeExtra.uni