]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
Add 4 APIs to DevicePathLib: ConvertDeviceNodeToText, ConvertDevicePathToText, Conver...
[mirror_edk2.git] / MdePkg / Library / UefiDevicePathLib / UefiDevicePathLib.inf
index 2ec381d262d8e06b3845f14a27bcbb7557619e9a..fc9b5c019d3a7b07131fca9a1cf6d10fb9134a5a 100644 (file)
@@ -1,18 +1,19 @@
-#/** @file\r
-# Library instance implement the library class UefiDevicePathLib defined in Mde\r
-# library specification.\r
+## @file\r
+# Instance of Device Path Library based on Memory Allocation Library.\r
 #\r
-# Copyright (c) 2007, Intel Corporation\r
+# Device Path Library that layers on top of the Memory Allocation Library.\r
 #\r
-#  All rights reserved. This program and the accompanying materials\r
+# Copyright (c) 2007 - 2013, Intel Corporation. All rights reserved.<BR>\r
+#\r
+#  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
 #  which accompanies this distribution. The full text of the license may be found at\r
-#  http://opensource.org/licenses/bsd-license.php\r
+#  http://opensource.org/licenses/bsd-license.php.\r
 #  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
 #  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 #\r
 #\r
-#**/\r
+##\r
 \r
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   FILE_GUID                      = 91c1677a-e57f-4191-8b8e-eb7711a716e0\r
   MODULE_TYPE                    = UEFI_DRIVER\r
   VERSION_STRING                 = 1.0\r
-  LIBRARY_CLASS                  = DevicePathLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER \r
-  EDK_RELEASE_VERSION            = 0x00020000\r
-  EFI_SPECIFICATION_VERSION      = 0x00020000\r
+  LIBRARY_CLASS                  = DevicePathLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER SMM_CORE\r
 \r
 \r
 #\r
 #  VALID_ARCHITECTURES           = IA32 X64 IPF EBC\r
 #\r
 \r
-[Sources.common]\r
+[Sources]\r
+  DevicePathUtilities.c\r
+  DevicePathToText.c\r
+  DevicePathFromText.c\r
   UefiDevicePathLib.c\r
-\r
+  UefiDevicePathLib.h\r
 \r
 [Packages]\r
   MdePkg/MdePkg.dec\r
 \r
 [LibraryClasses]\r
   BaseLib\r
-  UefiBootServicesTableLib\r
   MemoryAllocationLib\r
   DebugLib\r
   BaseMemoryLib\r
+  PcdLib\r
+  PrintLib\r
 \r
+[Guids]\r
+  gEfiVTUTF8Guid\r
+  gEfiVT100Guid\r
+  gEfiVT100PlusGuid\r
+  gEfiPcAnsiGuid\r
+  gEfiUartDevicePathGuid\r
+  gEfiSasDevicePathGuid\r
 \r
 [Protocols]\r
-  gEfiDevicePathProtocolGuid                    # PROTOCOL ALWAYS_CONSUMED\r
+  gEfiDevicePathProtocolGuid                    ## CONSUMES\r
+  gEfiDebugPortProtocolGuid                     ## SOMETIMES_CONSUMES ## GUID\r
 \r
+[Pcd]\r
+  gEfiMdePkgTokenSpaceGuid.PcdMaximumDevicePathNodeCount\r