summaryrefslogtreecommitdiff
path: root/FmpDevicePkg/Library/CapsuleUpdatePolicyLibOnProtocol/CapsuleUpdatePolicyLibOnProtocol.inf
blob: f988e0a0cdf11ce8481f5d8d4ddd5053a5ed14bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
## @file
#  Provides platform policy services used during a capsule update that uses the
#  services of the EDKII_CAPSULE_UPDATE_POLICY_PROTOCOL.
#
#  If the protocol is not found, CheckSystemPower(), CheckSystemThermal(),
#  and CheckSystemEnvironment() assume the platform state supports a
#  capsule update, while IsLowestSupportedVersionCheckRequired() and
#  IsLockFmpDeviceAtLockEventGuidRequired() default to TRUE so the lowest
#  supported version check and FMP device locking are still performed.
#
#  Copyright (c) Microsoft Corporation.<BR>
#  Copyright (c) 2018-2019, Intel Corporation. All rights reserved.<BR>
#
#  SPDX-License-Identifier: BSD-2-Clause-Patent
#
##

[Defines]
  INF_VERSION     = 0x00010005
  BASE_NAME       = CapsuleUpdatePolicyLibOnProtocol
  MODULE_UNI_FILE = CapsuleUpdatePolicyLibOnProtocol.uni
  FILE_GUID       = 0EA4C03F-D91B-4929-AAA5-B2FC8D69E2F4
  MODULE_TYPE     = DXE_DRIVER
  VERSION_STRING  = 1.0
  LIBRARY_CLASS   = CapsuleUpdatePolicyLib

[Sources]
  CapsuleUpdatePolicyLibOnProtocol.c

[Packages]
  MdePkg/MdePkg.dec
  FmpDevicePkg/FmpDevicePkg.dec

[LibraryClasses]
  BaseLib
  DebugLib
  UefiBootServicesTableLib

[Protocols]
  gEdkiiCapsuleUpdatePolicyProtocolGuid  ## CONSUMES