blob: 943ba2d6c70a79ed33f0e5cc82efa78476582d14 [file] [log] [blame]
Vishal Bhoj82c80712015-12-15 21:13:33 +05301## @file
2# Instance of Device Path Library based on Device Path Protocol.
3#
4# Device Path Library that layers on top of the UEFI 2.0 Device Path Protocol.
5# If the DevicePathFromText/DevicePathToText protocol doesn't exist, the library
6# uses its internal conversion logic.
7#
8# Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.<BR>
9#
10# This program and the accompanying materials
11# are licensed and made available under the terms and conditions of the BSD License
12# which accompanies this distribution. The full text of the license may be found at
13# http://opensource.org/licenses/bsd-license.php.
14# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16#
17#
18##
19
20[Defines]
21 INF_VERSION = 0x00010005
22 BASE_NAME = UefiDevicePathLibOptionalDevicePathProtocol
23 MODULE_UNI_FILE = UefiDevicePathLibOptionalDevicePathProtocol.uni
24 FILE_GUID = 3E1C696D-FCF0-45a7-85A7-E86C2A1C1080
25 MODULE_TYPE = UEFI_DRIVER
26 VERSION_STRING = 1.0
27 LIBRARY_CLASS = DevicePathLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER SMM_CORE
28
29 CONSTRUCTOR = UefiDevicePathLibOptionalDevicePathProtocolConstructor
30
31#
32# VALID_ARCHITECTURES = IA32 X64 IPF EBC
33#
34
35[Sources]
36 DevicePathUtilities.c
37 DevicePathToText.c
38 DevicePathFromText.c
39 UefiDevicePathLibOptionalDevicePathProtocol.c
40 UefiDevicePathLib.h
41
42[Packages]
43 MdePkg/MdePkg.dec
44
45
46[LibraryClasses]
47 BaseLib
48 UefiBootServicesTableLib
49 MemoryAllocationLib
50 DebugLib
51 BaseMemoryLib
52 PcdLib
53 PrintLib
54
55[Guids]
56 ## SOMETIMES_CONSUMES ## GUID
57 gEfiVTUTF8Guid
58 ## SOMETIMES_CONSUMES ## GUID
59 gEfiVT100Guid
60 ## SOMETIMES_CONSUMES ## GUID
61 gEfiVT100PlusGuid
62 ## SOMETIMES_CONSUMES ## GUID
63 gEfiPcAnsiGuid
64 ## SOMETIMES_CONSUMES ## GUID
65 gEfiUartDevicePathGuid
66 ## SOMETIMES_CONSUMES ## GUID
67 gEfiSasDevicePathGuid
68
69[Protocols]
70 gEfiDevicePathProtocolGuid ## SOMETIMES_CONSUMES
71 gEfiDevicePathUtilitiesProtocolGuid ## CONSUMES
72 gEfiDevicePathToTextProtocolGuid ## SOMETIMES_CONSUMES
73 gEfiDevicePathFromTextProtocolGuid ## SOMETIMES_CONSUMES
74 gEfiDebugPortProtocolGuid ## UNDEFINED
75
76[Pcd]
77 gEfiMdePkgTokenSpaceGuid.PcdMaximumDevicePathNodeCount ## SOMETIMES_CONSUMES
78
79[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER, Depex.common.DXE_SAL_DRIVER, Depex.common.DXE_SMM_DRIVER]
80 gEfiDevicePathUtilitiesProtocolGuid
81