REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1525 * Add Capsule Update Policy Protocol to FmpDevicePkg * Add CapsuleUpdatePolicyLib instance that uses the services of the Capsule Update Policy Protocol * Add module that produces the Capsule Update Policy Protocol using the services of the CapsuleUpdatePolicyLib class. * Update FmpDevicePkg DSC to build the new library instance and the new module and update builds of FmpDxe modules to demonstrate the use of the different CapsuleUpdatePolicyLib instances. Cc: Sean Brogan <sean.brogan@microsoft.com> Cc: Bret Barkelew <Bret.Barkelew@microsoft.com> Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Wang Fan <fan.wang@intel.com> Reviewed-by: Eric Jin <eric.jin@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
49 lines
1.1 KiB
INI
49 lines
1.1 KiB
INI
## @file
|
|
# Produce the Capsule Update Policy Protocol using the services of the Capsule
|
|
# Update Policy Library.
|
|
#
|
|
# Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
|
|
#
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
#
|
|
##
|
|
|
|
[Defines]
|
|
INF_VERSION = 0x00010005
|
|
BASE_NAME = CapsuleUpdatePolicyDxe
|
|
MODULE_UNI_FILE = CapsuleUpdatePolicyDxe.uni
|
|
FILE_GUID = 86F67A12-2E32-44FC-8D6C-7901E2B5649A
|
|
MODULE_TYPE = DXE_DRIVER
|
|
VERSION_STRING = 1.0
|
|
ENTRY_POINT = CapsuleUpdatePolicyInitialize
|
|
|
|
#
|
|
# The following information is for reference only and not required by the build tools.
|
|
#
|
|
# VALID_ARCHITECTURES = IA32 X64 EBC
|
|
#
|
|
|
|
[Sources]
|
|
CapsuleUpdatePolicyDxe.c
|
|
CapsuleUpdatePolicyDxe.h
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
FmpDevicePkg/FmpDevicePkg.dec
|
|
|
|
[LibraryClasses]
|
|
UefiDriverEntryPoint
|
|
BaseLib
|
|
DebugLib
|
|
UefiBootServicesTableLib
|
|
CapsuleUpdatePolicyLib
|
|
|
|
[Protocols]
|
|
gEdkiiCapuleUpdatePolicyProtocolGuid ## PRODUCES
|
|
|
|
[Depex]
|
|
TRUE
|
|
|
|
[UserExtensions.TianoCore."ExtraFiles"]
|
|
CapsuleUpdatePolicyDxeExtra.uni
|