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