1) Add capsule and recovery boot path handling in platform BDS. 2) Add check if the platform is using default test key for capsule. Produce PcdTestKeyUsed to indicate if there is any test key used in current BIOS, such as recovery key, or capsule update key. Then the generic UI may consume this PCD to show warning information. Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Kelly Steele <kelly.steele@intel.com> Cc: Feng Tian <feng.tian@intel.com> Cc: Star Zeng <star.zeng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Chao Zhang <chao.b.zhang@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Michael Kinney <michael.d.kinney@intel.com> Tested-by: Michael Kinney <michael.d.kinney@intel.com>
88 lines
2.7 KiB
INI
88 lines
2.7 KiB
INI
## @file
|
|
# Include all platform action which can be customized by IBV/OEM.
|
|
#
|
|
# Copyright (c) 2012 - 2016, Intel Corporation. All rights reserved.<BR>
|
|
# 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 = PlatformBootManagerLib
|
|
FILE_GUID = EC67889B-9E62-4c81-8CA0-86E6A6EEE61A
|
|
MODULE_TYPE = DXE_DRIVER
|
|
VERSION_STRING = 1.0
|
|
LIBRARY_CLASS = PlatformBootManagerLib|DXE_DRIVER
|
|
CONSTRUCTOR = InitializePlatformBootManagerLib
|
|
|
|
#
|
|
# The following information is for reference only and not required by the build tools.
|
|
#
|
|
# VALID_ARCHITECTURES = IA32 X64 EBC
|
|
#
|
|
|
|
[Sources]
|
|
PlatformData.c
|
|
PlatformBootManager.c
|
|
PlatformBootManager.h
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
IntelFrameworkPkg/IntelFrameworkPkg.dec
|
|
IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec
|
|
SourceLevelDebugPkg/SourceLevelDebugPkg.dec
|
|
QuarkPlatformPkg/QuarkPlatformPkg.dec
|
|
SecurityPkg/SecurityPkg.dec
|
|
SignedCapsulePkg/SignedCapsulePkg.dec
|
|
|
|
[LibraryClasses]
|
|
BaseLib
|
|
BaseMemoryLib
|
|
PcdLib
|
|
DebugLib
|
|
DevicePathLib
|
|
MemoryAllocationLib
|
|
UefiBootServicesTableLib
|
|
UefiLib
|
|
UefiBootManagerLib
|
|
PrintLib
|
|
HobLib
|
|
CapsuleLib
|
|
DxeServicesLib
|
|
|
|
[Protocols]
|
|
gEfiFirmwareVolume2ProtocolGuid
|
|
gEfiAcpiS3SaveProtocolGuid
|
|
gEfiDxeSmmReadyToLockProtocolGuid
|
|
gEsrtManagementProtocolGuid
|
|
|
|
[Guids]
|
|
gEfiPcAnsiGuid
|
|
gEfiVT100Guid
|
|
gEfiVT100PlusGuid
|
|
gEfiVTUTF8Guid
|
|
gEfiTtyTermGuid
|
|
gEfiEndOfDxeEventGroupGuid
|
|
|
|
[Pcd]
|
|
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate
|
|
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits
|
|
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity
|
|
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits
|
|
gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType
|
|
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBootState
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset
|
|
gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiRsa2048Sha256TestPublicKeyFileGuid
|
|
gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiPkcs7TestPublicKeyFileGuid
|
|
gEfiSecurityPkgTokenSpaceGuid.PcdRsa2048Sha256PublicKeyBuffer
|
|
gEfiSecurityPkgTokenSpaceGuid.PcdPkcs7CertBuffer
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdTestKeyUsed
|
|
|