2013-07-26 05:00:21 +02:00
|
|
|
## @file
|
|
|
|
# Instance of Device Path Library based on Device Path Protocol.
|
|
|
|
#
|
|
|
|
# Device Path Library that layers on top of the UEFI 2.0 Device Path Protocol.
|
|
|
|
# If the DevicePathFromText/DevicePathToText protocol doesn't exist, the library
|
|
|
|
# uses its internal conversion logic.
|
|
|
|
#
|
2014-08-27 11:33:09 +02:00
|
|
|
# Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.<BR>
|
2013-07-26 05:00:21 +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 = UefiDevicePathLibOptionalDevicePathProtocol
|
2014-08-27 11:33:09 +02:00
|
|
|
MODULE_UNI_FILE = UefiDevicePathLibOptionalDevicePathProtocol.uni
|
2013-07-26 05:00:21 +02:00
|
|
|
FILE_GUID = 3E1C696D-FCF0-45a7-85A7-E86C2A1C1080
|
|
|
|
MODULE_TYPE = UEFI_DRIVER
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
LIBRARY_CLASS = DevicePathLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER SMM_CORE
|
|
|
|
|
|
|
|
CONSTRUCTOR = UefiDevicePathLibOptionalDevicePathProtocolConstructor
|
|
|
|
|
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
|
|
|
#
|
|
|
|
|
|
|
|
[Sources]
|
|
|
|
DevicePathUtilities.c
|
|
|
|
DevicePathToText.c
|
|
|
|
DevicePathFromText.c
|
|
|
|
UefiDevicePathLibOptionalDevicePathProtocol.c
|
|
|
|
UefiDevicePathLib.h
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
BaseLib
|
|
|
|
UefiBootServicesTableLib
|
|
|
|
MemoryAllocationLib
|
|
|
|
DebugLib
|
|
|
|
BaseMemoryLib
|
|
|
|
PcdLib
|
|
|
|
PrintLib
|
|
|
|
|
|
|
|
[Guids]
|
2014-08-27 11:33:09 +02:00
|
|
|
## SOMETIMES_CONSUMES ## GUID
|
2013-07-26 05:00:21 +02:00
|
|
|
gEfiVTUTF8Guid
|
2014-08-27 11:33:09 +02:00
|
|
|
## SOMETIMES_CONSUMES ## GUID
|
2013-07-26 05:00:21 +02:00
|
|
|
gEfiVT100Guid
|
2014-08-27 11:33:09 +02:00
|
|
|
## SOMETIMES_CONSUMES ## GUID
|
2013-07-26 05:00:21 +02:00
|
|
|
gEfiVT100PlusGuid
|
2014-08-27 11:33:09 +02:00
|
|
|
## SOMETIMES_CONSUMES ## GUID
|
2013-07-26 05:00:21 +02:00
|
|
|
gEfiPcAnsiGuid
|
2014-08-27 11:33:09 +02:00
|
|
|
## SOMETIMES_CONSUMES ## GUID
|
2013-07-26 05:00:21 +02:00
|
|
|
gEfiUartDevicePathGuid
|
2014-08-27 11:33:09 +02:00
|
|
|
## SOMETIMES_CONSUMES ## GUID
|
2013-07-26 05:00:21 +02:00
|
|
|
gEfiSasDevicePathGuid
|
|
|
|
|
|
|
|
[Protocols]
|
2014-08-27 11:33:09 +02:00
|
|
|
gEfiDevicePathProtocolGuid ## SOMETIMES_CONSUMES
|
2013-07-26 05:00:21 +02:00
|
|
|
gEfiDevicePathUtilitiesProtocolGuid ## CONSUMES
|
2014-08-27 11:33:09 +02:00
|
|
|
gEfiDevicePathToTextProtocolGuid ## SOMETIMES_CONSUMES
|
|
|
|
gEfiDevicePathFromTextProtocolGuid ## SOMETIMES_CONSUMES
|
|
|
|
gEfiDebugPortProtocolGuid ## UNDEFINED
|
2013-07-26 05:00:21 +02:00
|
|
|
|
|
|
|
[Pcd]
|
2014-08-27 11:33:09 +02:00
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdMaximumDevicePathNodeCount ## SOMETIMES_CONSUMES
|
2013-07-26 05:00:21 +02:00
|
|
|
|
|
|
|
[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER, Depex.common.DXE_SAL_DRIVER, Depex.common.DXE_SMM_DRIVER]
|
2014-08-27 11:33:09 +02:00
|
|
|
gEfiDevicePathUtilitiesProtocolGuid
|
|
|
|
|