• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## @file
2#  Capsule library instance for DXE_DRIVER.
3#
4#  Capsule library instance for DXE_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                      = DxeCapsuleLib
20  MODULE_UNI_FILE                = DxeCapsuleLib.uni
21  FILE_GUID                      = 534E35DE-8EB3-47b3-A4E0-72A571E50733
22  MODULE_TYPE                    = DXE_DRIVER
23  VERSION_STRING                 = 1.0
24  LIBRARY_CLASS                  = CapsuleLib|DXE_DRIVER UEFI_APPLICATION
25  CONSTRUCTOR                    = DxeCapsuleLibConstructor
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  DxeCapsuleLib.c
35  DxeCapsuleProcessLib.c
36  DxeCapsuleReportLib.c
37
38[Packages]
39  MdePkg/MdePkg.dec
40  MdeModulePkg/MdeModulePkg.dec
41
42[LibraryClasses]
43  BaseLib
44  BaseMemoryLib
45  DebugLib
46  MemoryAllocationLib
47  DxeServicesTableLib
48  UefiBootServicesTableLib
49  DevicePathLib
50  ReportStatusCodeLib
51  PrintLib
52  HobLib
53
54[Pcd]
55  gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleMax                               ## CONSUMES
56  gEfiMdeModulePkgTokenSpaceGuid.PcdSystemRebootAfterCapsuleProcessFlag      ## CONSUMES
57
58  gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeSubClassCapsule                ## CONSUMES
59  gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeProcessCapsulesBegin    ## CONSUMES
60  gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeProcessCapsulesEnd      ## CONSUMES
61  gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeUpdatingFirmware        ## CONSUMES
62  gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeUpdateFirmwareSuccess   ## CONSUMES
63  gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeUpdateFirmwareFailed    ## CONSUMES
64  gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeResettingSystem         ## CONSUMES
65
66[Protocols]
67  gEsrtManagementProtocolGuid             ## CONSUMES
68  gEfiFirmwareManagementProtocolGuid      ## SOMETIMES_CONSUMES
69  gEdkiiVariableLockProtocolGuid          ## SOMETIMES_CONSUMES
70
71[Guids]
72  gEfiFmpCapsuleGuid                      ## SOMETIMES_CONSUMES ## GUID
73  gWindowsUxCapsuleGuid                   ## SOMETIMES_CONSUMES ## GUID
74  gEfiSystemResourceTableGuid             ## SOMETIMES_CONSUMES ## GUID
75  gEfiCapsuleReportGuid                   ## CONSUMES ## Variable
76  gEfiCapsuleVendorGuid                   ## CONSUMES ## Variable
77  gEfiEndOfDxeEventGroupGuid              ## CONSUMES ## Event
78
79[Depex]
80  gEfiVariableWriteArchProtocolGuid
81