MdeModulePkg/DxeCapsuleLibFmp: clone ESRT for runtime access
[mirror_edk2.git] / MdeModulePkg / Library / DxeCapsuleLibFmp / DxeRuntimeCapsuleLib.inf
1 ## @file\r
2 #  Capsule library instance for DXE_RUNTIME_DRIVER.\r
3 #\r
4 #  Capsule library instance for DXE_RUNTIME_DRIVER module types.\r
5 #\r
6 #  Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR>\r
7 #  SPDX-License-Identifier: BSD-2-Clause-Patent\r
8 #\r
9 ##\r
10 \r
11 [Defines]\r
12   INF_VERSION                    = 0x00010005\r
13   BASE_NAME                      = DxeRuntimeCapsuleLib\r
14   MODULE_UNI_FILE                = DxeRuntimeCapsuleLib.uni\r
15   FILE_GUID                      = 19BE1E4B-1A9A-44c1-8F12-32DD0470516A\r
16   MODULE_TYPE                    = DXE_RUNTIME_DRIVER\r
17   VERSION_STRING                 = 1.0\r
18   LIBRARY_CLASS                  = CapsuleLib|DXE_RUNTIME_DRIVER\r
19   CONSTRUCTOR                    = DxeCapsuleLibConstructor\r
20   CONSTRUCTOR                    = DxeRuntimeCapsuleLibConstructor\r
21   DESTRUCTOR                     = DxeCapsuleLibDestructor\r
22   DESTRUCTOR                     = DxeRuntimeCapsuleLibDestructor\r
23 \r
24 #\r
25 # The following information is for reference only and not required by the build tools.\r
26 #\r
27 #  VALID_ARCHITECTURES           = IA32 X64 EBC\r
28 #\r
29 \r
30 [Sources]\r
31   DxeCapsuleLib.c\r
32   DxeCapsuleProcessLibNull.c\r
33   DxeCapsuleReportLibNull.c\r
34   DxeCapsuleRuntime.c\r
35 \r
36 [Packages]\r
37   MdePkg/MdePkg.dec\r
38   MdeModulePkg/MdeModulePkg.dec\r
39 \r
40 [LibraryClasses]\r
41   BaseLib\r
42   BaseMemoryLib\r
43   DebugLib\r
44   MemoryAllocationLib\r
45   DxeServicesTableLib\r
46   UefiBootServicesTableLib\r
47   DevicePathLib\r
48   ReportStatusCodeLib\r
49   PrintLib\r
50   HobLib\r
51   BmpSupportLib\r
52 \r
53 \r
54 [Protocols]\r
55   gEsrtManagementProtocolGuid                   ## CONSUMES\r
56   gEfiFirmwareManagementProtocolGuid            ## CONSUMES\r
57   gEdkiiVariableLockProtocolGuid                ## SOMETIMES_CONSUMES\r
58   gEdkiiFirmwareManagementProgressProtocolGuid  ## SOMETIMES_CONSUMES\r
59 \r
60 [Guids]\r
61   gEfiFmpCapsuleGuid                      ## SOMETIMES_CONSUMES ## GUID\r
62   gWindowsUxCapsuleGuid                   ## SOMETIMES_CONSUMES ## GUID\r
63   gEfiSystemResourceTableGuid             ## SOMETIMES_CONSUMES ## GUID\r
64   ## SOMETIMES_CONSUMES ## Variable:L"CapsuleMax"\r
65   ## SOMETIMES_PRODUCES ## Variable:L"CapsuleMax"\r
66   gEfiCapsuleReportGuid\r
67   gEfiCapsuleVendorGuid                   ## SOMETIMES_CONSUMES ## Variable:L"CapsuleUpdateData"\r
68   gEfiEndOfDxeEventGroupGuid              ## CONSUMES ## Event\r
69   gEfiEventReadyToBootGuid                ## CONSUMES ## Event\r
70   gEfiEventVirtualAddressChangeGuid       ## CONSUMES ## Event\r
71 \r
72 [Depex]\r
73   gEfiVariableWriteArchProtocolGuid\r