DevicePathLib utilities are useful in PEI to locate the devices which need an opal unlock on S3 resume. This commit reuses the implementation done for standalone MM support and makes the StandaloneMm library Base. Signed-off-by: Mateusz Albecki <mateusz.albecki@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Zhiguang Liu <zhiguang.liu@intel.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
76 lines
1.9 KiB
INI
76 lines
1.9 KiB
INI
## @file
|
|
# Instance of Device Path Library based on Memory Allocation Library.
|
|
#
|
|
# Device Path Library that layers on top of the Memory Allocation Library.
|
|
#
|
|
# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
|
|
# Copyright (c) Microsoft Corporation.
|
|
#
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
#
|
|
#
|
|
##
|
|
|
|
[Defines]
|
|
INF_VERSION = 0x00010005
|
|
BASE_NAME = UefiDevicePathLib
|
|
MODULE_UNI_FILE = UefiDevicePathLib.uni
|
|
FILE_GUID = D8E58437-44D3-4154-B7A7-EB794923EF12
|
|
MODULE_TYPE = BASE
|
|
PI_SPECIFICATION_VERSION = 0x00010032
|
|
VERSION_STRING = 1.0
|
|
LIBRARY_CLASS = DevicePathLib
|
|
|
|
|
|
#
|
|
# VALID_ARCHITECTURES = IA32 X64 EBC
|
|
#
|
|
|
|
[Sources]
|
|
DevicePathUtilities.c
|
|
DevicePathUtilitiesBase.c
|
|
DevicePathToText.c
|
|
DevicePathFromText.c
|
|
UefiDevicePathLib.c
|
|
UefiDevicePathLib.h
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
|
|
[LibraryClasses]
|
|
BaseLib
|
|
MemoryAllocationLib
|
|
DebugLib
|
|
BaseMemoryLib
|
|
PcdLib
|
|
PrintLib
|
|
|
|
[Guids]
|
|
## SOMETIMES_CONSUMES ## GUID
|
|
gEfiVTUTF8Guid
|
|
## SOMETIMES_CONSUMES ## GUID
|
|
gEfiVT100Guid
|
|
## SOMETIMES_CONSUMES ## GUID
|
|
gEfiVT100PlusGuid
|
|
## SOMETIMES_CONSUMES ## GUID
|
|
gEfiPcAnsiGuid
|
|
## SOMETIMES_CONSUMES ## GUID
|
|
gEfiUartDevicePathGuid
|
|
## SOMETIMES_CONSUMES ## GUID
|
|
gEfiSasDevicePathGuid
|
|
## SOMETIMES_CONSUMES ## GUID
|
|
gEfiVirtualDiskGuid
|
|
## SOMETIMES_CONSUMES ## GUID
|
|
gEfiVirtualCdGuid
|
|
## SOMETIMES_CONSUMES ## GUID
|
|
gEfiPersistentVirtualDiskGuid
|
|
## SOMETIMES_CONSUMES ## GUID
|
|
gEfiPersistentVirtualCdGuid
|
|
|
|
[Protocols]
|
|
gEfiDevicePathProtocolGuid ## SOMETIMES_CONSUMES
|
|
gEfiDebugPortProtocolGuid ## UNDEFINED
|
|
|
|
[Pcd]
|
|
gEfiMdePkgTokenSpaceGuid.PcdMaximumDevicePathNodeCount ## SOMETIMES_CONSUMES
|