MdeModulePkg/DxeCapsuleLibFmp: Add DxeCapsuleLibFmp instance.
[mirror_edk2.git] / MdeModulePkg / Library / DxeCapsuleLibFmp / DxeRuntimeCapsuleLib.inf
1 ## @file
2 # Capsule library instance for DXE_RUNTIME_DRIVER.
3 #
4 # Capsule library instance for DXE_RUNTIME_DRIVER module types.
5 #
6 # Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
7 # This program and the accompanying materials
8 # are licensed and made available under the terms and conditions of the BSD License
9 # which accompanies this distribution. The full text of the license may be found at
10 # http://opensource.org/licenses/bsd-license.php
11 #
12 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 #
15 ##
16
17 [Defines]
18 INF_VERSION = 0x00010005
19 BASE_NAME = DxeRuntimeCapsuleLib
20 MODULE_UNI_FILE = DxeRuntimeCapsuleLib.uni
21 FILE_GUID = 19BE1E4B-1A9A-44c1-8F12-32DD0470516A
22 MODULE_TYPE = DXE_DRIVER
23 VERSION_STRING = 1.0
24 LIBRARY_CLASS = CapsuleLib|DXE_RUNTIME_DRIVER
25 CONSTRUCTOR = DxeCapsuleLibConstructor
26 CONSTRUCTOR = DxeRuntimeCapsuleLibConstructor
27
28 #
29 # The following information is for reference only and not required by the build tools.
30 #
31 # VALID_ARCHITECTURES = IA32 X64 IPF EBC
32 #
33
34 [Sources]
35 DxeCapsuleLib.c
36 DxeCapsuleProcessLibNull.c
37 DxeCapsuleReportLibNull.c
38 DxeCapsuleRuntime.c
39
40 [Packages]
41 MdePkg/MdePkg.dec
42 MdeModulePkg/MdeModulePkg.dec
43
44 [LibraryClasses]
45 BaseLib
46 BaseMemoryLib
47 DebugLib
48 MemoryAllocationLib
49 DxeServicesTableLib
50 UefiBootServicesTableLib
51 DevicePathLib
52 ReportStatusCodeLib
53 PrintLib
54 HobLib
55
56 [Pcd]
57 gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleMax ## CONSUMES
58 gEfiMdeModulePkgTokenSpaceGuid.PcdSystemRebootAfterCapsuleProcessFlag ## CONSUMES
59
60 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeSubClassCapsule ## CONSUMES
61 gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeProcessCapsulesBegin ## CONSUMES
62 gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeProcessCapsulesEnd ## CONSUMES
63 gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeUpdatingFirmware ## CONSUMES
64 gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeUpdateFirmwareSuccess ## CONSUMES
65 gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeUpdateFirmwareFailed ## CONSUMES
66 gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeResettingSystem ## CONSUMES
67
68 [Protocols]
69 gEsrtManagementProtocolGuid ## CONSUMES
70 gEfiFirmwareManagementProtocolGuid ## SOMETIMES_CONSUMES
71 gEdkiiVariableLockProtocolGuid ## SOMETIMES_CONSUMES
72
73 [Guids]
74 gEfiFmpCapsuleGuid ## SOMETIMES_CONSUMES ## GUID
75 gWindowsUxCapsuleGuid ## SOMETIMES_CONSUMES ## GUID
76 gEfiSystemResourceTableGuid ## SOMETIMES_CONSUMES ## GUID
77 gEfiCapsuleReportGuid ## CONSUMES ## Variable
78 gEfiCapsuleVendorGuid ## CONSUMES ## Variable
79 gEfiEndOfDxeEventGroupGuid ## CONSUMES ## Event
80 gEfiEventVirtualAddressChangeGuid ## CONSUMES ## Event
81
82 [Depex]
83 gEfiVariableWriteArchProtocolGuid