]> 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 20f6449f2369b183da70ecf1c987e91b2d175381..c76275b9d786c17381c776503e7d95eef4c47a29 100644 (file)
@@ -1,95 +1,79 @@
-#/** @file\r
-# Component description file for the entry point to a EFIDXE Drivers\r
+## @file\r
+# Instance of Device Path Library based on Memory Allocation Library.\r
 #\r
-# Library to abstract Framework extensions that conflict with UEFI 2.0 Specification\r
-# Copyright (c) 2007 - 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 - 2014, 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
-################################################################################\r
-#\r
-# Defines Section - statements that will be processed to create a Makefile.\r
-#\r
-################################################################################\r
 [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
-  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
-# The following information is for reference only and not required by the build tools.\r
 #\r
 #  VALID_ARCHITECTURES           = IA32 X64 IPF EBC\r
 #\r
 \r
-################################################################################\r
-#\r
-# Sources Section - list of files that are required for the build to succeed.\r
-#\r
-################################################################################\r
-\r
-[Sources.common]\r
+[Sources]\r
+  DevicePathUtilities.c\r
+  DevicePathToText.c\r
+  DevicePathFromText.c\r
   UefiDevicePathLib.c\r
-  CommonHeader.h\r
-\r
-\r
-################################################################################\r
-#\r
-# Includes Section - list of Include locations that are required for\r
-#                    this module.\r
-#\r
-################################################################################\r
-\r
-[Includes]\r
-  $(WORKSPACE)/MdePkg\Include/Library\r
-\r
-################################################################################\r
-#\r
-# Package Dependency Section - list of Package files that are required for\r
-#                              this module.\r
-#\r
-################################################################################\r
+  UefiDevicePathLib.h\r
 \r
 [Packages]\r
   MdePkg/MdePkg.dec\r
 \r
 \r
-################################################################################\r
-#\r
-# Library Class Section - list of Library Classes that are required for\r
-#                         this module.\r
-#\r
-################################################################################\r
-\r
 [LibraryClasses]\r
   BaseLib\r
-  UefiBootServicesTableLib\r
   MemoryAllocationLib\r
   DebugLib\r
   BaseMemoryLib\r
-\r
-\r
-################################################################################\r
-#\r
-# Protocol C Name Section - list of Protocol and Protocol Notify C Names\r
-#                           that this module uses or produces.\r
-#\r
-################################################################################\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                    # PROTOCOL ALWAYS_CONSUMED\r
+  gEfiDevicePathProtocolGuid                    ## SOMETIMES_CONSUMES\r
+  gEfiDebugPortProtocolGuid                     ## UNDEFINED\r
+\r
+[Pcd]\r
+  gEfiMdePkgTokenSpaceGuid.PcdMaximumDevicePathNodeCount    ## SOMETIMES_CONSUMES\r
 \r