]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
MdePkg UefiDevicePathLib: Validate before touch input buffer.
[mirror_edk2.git] / MdePkg / Library / UefiDevicePathLib / UefiDevicePathLib.inf
index 1e7bfd5a55c130f5cf0b45d67fb1c84fe8ee09ca..c76275b9d786c17381c776503e7d95eef4c47a29 100644 (file)
@@ -3,12 +3,12 @@
 #\r
 # Device Path Library that layers on top of the Memory Allocation Library.\r
 #\r
-# Copyright (c) 2007 - 2010, Intel Corporation\r
+# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>\r
 #\r
-#  All rights reserved. This program and the accompanying materials\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
@@ -18,6 +18,7 @@
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = UefiDevicePathLib\r
+  MODULE_UNI_FILE                = UefiDevicePathLib.uni\r
   FILE_GUID                      = 91c1677a-e57f-4191-8b8e-eb7711a716e0\r
   MODULE_TYPE                    = UEFI_DRIVER\r
   VERSION_STRING                 = 1.0\r
 #\r
 \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
+  ## SOMETIMES_CONSUMES  ## GUID\r
+  gEfiVTUTF8Guid\r
+  ## SOMETIMES_CONSUMES  ## GUID\r
+  gEfiVT100Guid\r
+  ## SOMETIMES_CONSUMES  ## GUID\r
+  gEfiVT100PlusGuid\r
+  ## SOMETIMES_CONSUMES  ## GUID\r
+  gEfiPcAnsiGuid\r
+  ## SOMETIMES_CONSUMES  ## GUID\r
+  gEfiUartDevicePathGuid\r
+  ## SOMETIMES_CONSUMES  ## GUID\r
+  gEfiSasDevicePathGuid\r
+  ## SOMETIMES_CONSUMES  ## GUID\r
+  gEfiVirtualDiskGuid\r
+  ## SOMETIMES_CONSUMES  ## GUID\r
+  gEfiVirtualCdGuid\r
+  ## SOMETIMES_CONSUMES  ## GUID\r
+  gEfiPersistentVirtualDiskGuid\r
+  ## SOMETIMES_CONSUMES  ## GUID\r
+  gEfiPersistentVirtualCdGuid\r
 \r
 [Protocols]\r
-  gEfiDevicePathProtocolGuid                    ## CONSUMES\r
+  gEfiDevicePathProtocolGuid                    ## SOMETIMES_CONSUMES\r
+  gEfiDebugPortProtocolGuid                     ## UNDEFINED\r
+\r
+[Pcd]\r
+  gEfiMdePkgTokenSpaceGuid.PcdMaximumDevicePathNodeCount    ## SOMETIMES_CONSUMES\r
 \r