]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
Update the copyright notice format
[mirror_edk2.git] / MdeModulePkg / Universal / DevicePathDxe / DevicePathDxe.inf
index 15340b4f869071389597f82e2a81c2bfe3fa2e4e..0a52e0e4fab47ccc3fb2b36840de4371f32c07a3 100644 (file)
@@ -1,19 +1,21 @@
-#/** @file\r
-# Component description file for Device Path Driver.\r
+## @file\r
+#  Device path driver that produces three UEFI device path protocols.\r
 #\r
-# This driver implement these three UEFI deveice path protocols (\r
-#  DevicePathUtilities, DevicePahtToText and DevicePathFromText) and install them.\r
-# Copyright (c) 2006 - 2007, Intel Corporation\r
+#  This driver produces Device Path Utilities protocol and optionally\r
+#  DevicePahtToText and DevicePathFromText protocols based on feature flags\r
+#  PcdDevicePathSupportDevicePathToText & PcdDevicePathSupportDevicePathFromText\r
+#  respectively.\r
 #\r
-#  All rights reserved. This program and the accompanying materials\r
+#  Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\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
+#  which accompanies this distribution.  The full text of the license may be found at\r
 #  http://opensource.org/licenses/bsd-license.php\r
+#\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
@@ -21,9 +23,6 @@
   FILE_GUID                      = 9B680FCE-AD6B-4F3A-B60B-F59899003443\r
   MODULE_TYPE                    = DXE_DRIVER\r
   VERSION_STRING                 = 1.0\r
-  EDK_RELEASE_VERSION            = 0x00090000\r
-  EFI_SPECIFICATION_VERSION      = 0x00020000\r
-\r
   ENTRY_POINT                    = DevicePathEntryPoint\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
+  DevicePathToText.c   ||||PcdDevicePathSupportDevicePathToText\r
+  DevicePathFromText.c ||||PcdDevicePathSupportDevicePathFromText\r
   DevicePath.h\r
   DevicePath.c\r
 \r
   DebugLib\r
 \r
 [Guids]\r
-  gEfiVTUTF8Guid                                # ALWAYS_CONSUMED\r
-  gEfiVT100Guid                                 # ALWAYS_CONSUMED\r
-  gEfiVT100PlusGuid                             # ALWAYS_CONSUMED\r
-  gEfiPcAnsiGuid                                # ALWAYS_CONSUMED\r
-\r
+  gEfiVTUTF8Guid         | PcdDevicePathSupportDevicePathFromText OR PcdDevicePathSupportDevicePathToText ## SOMETIMES_CONSUMES ## GUID\r
+  gEfiVT100Guid          | PcdDevicePathSupportDevicePathFromText OR PcdDevicePathSupportDevicePathToText ## SOMETIMES_CONSUMES ## GUID\r
+  gEfiVT100PlusGuid      | PcdDevicePathSupportDevicePathFromText OR PcdDevicePathSupportDevicePathToText ## SOMETIMES_CONSUMES ## GUID\r
+  gEfiPcAnsiGuid         | PcdDevicePathSupportDevicePathFromText OR PcdDevicePathSupportDevicePathToText ## SOMETIMES_CONSUMES ## GUID\r
+  gEfiUartDevicePathGuid | PcdDevicePathSupportDevicePathFromText OR PcdDevicePathSupportDevicePathToText ## SOMETIMES_CONSUMES ## GUID\r
+  gEfiSasDevicePathGuid  | PcdDevicePathSupportDevicePathFromText OR PcdDevicePathSupportDevicePathToText ## SOMETIMES_CONSUMES ## GUID\r
+  \r
 [Protocols]\r
-  gEfiDevicePathToTextProtocolGuid              # PROTOCOL ALWAYS_PRODUCED\r
-  gEfiDevicePathFromTextProtocolGuid            # PROTOCOL ALWAYS_PRODUCED\r
-  gEfiDevicePathUtilitiesProtocolGuid           # PROTOCOL ALWAYS_PRODUCED\r
-  gEfiDebugPortProtocolGuid                     # PROTOCOL ALWAYS_CONSUMED\r
+  gEfiDevicePathToTextProtocolGuid   | PcdDevicePathSupportDevicePathFromText ## PRODUCES\r
+  gEfiDevicePathFromTextProtocolGuid | PcdDevicePathSupportDevicePathToText ## PRODUCES\r
+  gEfiDevicePathUtilitiesProtocolGuid ## CONSUMES\r
+  gEfiDebugPortProtocolGuid          | PcdDevicePathSupportDevicePathFromText OR PcdDevicePathSupportDevicePathToText ## SOMETIMES_CONSUMES ## GUID\r
 \r
-[PcdsFeatureFlag.common]\r
-  PcdDevicePathSupportDevicePathFromText|gEfiMdeModulePkgTokenSpaceGuid\r
-  PcdDevicePathSupportDevicePathToText|gEfiMdeModulePkgTokenSpaceGuid\r
+[FeaturePcd]\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText\r
 \r
+[Depex]\r
+  TRUE\r