2016-09-21 03:49:12 +02:00
|
|
|
## @file
|
|
|
|
# Capsule library instance for DXE_DRIVER.
|
|
|
|
#
|
|
|
|
# Capsule library instance for DXE_DRIVER module types.
|
|
|
|
#
|
2017-12-28 01:09:31 +01:00
|
|
|
# Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR>
|
2016-09-21 03:49:12 +02:00
|
|
|
# This program and the accompanying materials
|
|
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
# which accompanies this distribution. The full text of the license may be found at
|
|
|
|
# http://opensource.org/licenses/bsd-license.php
|
|
|
|
#
|
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
#
|
|
|
|
##
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = DxeCapsuleLib
|
|
|
|
MODULE_UNI_FILE = DxeCapsuleLib.uni
|
|
|
|
FILE_GUID = 534E35DE-8EB3-47b3-A4E0-72A571E50733
|
|
|
|
MODULE_TYPE = DXE_DRIVER
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
LIBRARY_CLASS = CapsuleLib|DXE_DRIVER UEFI_APPLICATION
|
|
|
|
CONSTRUCTOR = DxeCapsuleLibConstructor
|
2017-03-10 03:13:32 +01:00
|
|
|
DESTRUCTOR = DxeCapsuleLibDestructor
|
2016-09-21 03:49:12 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# The following information is for reference only and not required by the build tools.
|
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
|
|
|
#
|
|
|
|
|
|
|
|
[Sources]
|
|
|
|
DxeCapsuleLib.c
|
|
|
|
DxeCapsuleProcessLib.c
|
|
|
|
DxeCapsuleReportLib.c
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
BaseLib
|
|
|
|
BaseMemoryLib
|
|
|
|
DebugLib
|
|
|
|
MemoryAllocationLib
|
|
|
|
DxeServicesTableLib
|
|
|
|
UefiBootServicesTableLib
|
|
|
|
DevicePathLib
|
|
|
|
ReportStatusCodeLib
|
|
|
|
PrintLib
|
|
|
|
HobLib
|
2017-12-28 01:09:31 +01:00
|
|
|
BmpSupportLib
|
2016-09-21 03:49:12 +02:00
|
|
|
|
|
|
|
[Pcd]
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleMax ## CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSystemRebootAfterCapsuleProcessFlag ## CONSUMES
|
|
|
|
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeSubClassCapsule ## CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeProcessCapsulesBegin ## CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeProcessCapsulesEnd ## CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeUpdatingFirmware ## CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeUpdateFirmwareSuccess ## CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeUpdateFirmwareFailed ## CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeResettingSystem ## CONSUMES
|
|
|
|
|
|
|
|
[Protocols]
|
|
|
|
gEsrtManagementProtocolGuid ## CONSUMES
|
2017-09-25 13:06:24 +02:00
|
|
|
gEfiFirmwareManagementProtocolGuid ## CONSUMES
|
2016-09-21 03:49:12 +02:00
|
|
|
gEdkiiVariableLockProtocolGuid ## SOMETIMES_CONSUMES
|
|
|
|
|
|
|
|
[Guids]
|
|
|
|
gEfiFmpCapsuleGuid ## SOMETIMES_CONSUMES ## GUID
|
|
|
|
gWindowsUxCapsuleGuid ## SOMETIMES_CONSUMES ## GUID
|
2017-09-25 13:06:24 +02:00
|
|
|
## SOMETIMES_CONSUMES ## Variable:L"CapsuleMax"
|
|
|
|
## SOMETIMES_PRODUCES ## Variable:L"CapsuleMax"
|
|
|
|
gEfiCapsuleReportGuid
|
|
|
|
gEfiCapsuleVendorGuid ## SOMETIMES_CONSUMES ## Variable:L"CapsuleUpdateData"
|
2016-09-21 03:49:12 +02:00
|
|
|
gEfiEndOfDxeEventGroupGuid ## CONSUMES ## Event
|
|
|
|
|
|
|
|
[Depex]
|
|
|
|
gEfiVariableWriteArchProtocolGuid
|