]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Library/DevicePathLib.h
Remove one leftover in protocol definitions.
[mirror_edk2.git] / MdePkg / Include / Library / DevicePathLib.h
index 40124726750f29bb46b748c0a69c5d54434de02e..f4e5ddd24cbd6603445cd6d153720874bd7e6a07 100644 (file)
@@ -2,15 +2,13 @@
   Provides library functions to construct and parse UEFI Device Paths.\r
 \r
   This library provides defines, macros, and functions to help create and parse \r
-  EFI_DEVICE_PATH_PROTOCOL structures.  The macros that help create and parse device \r
-  path nodes make use of the ReadUnaligned16() and WriteUnaligned16() functions from \r
-  the Base Library, so this library class has an implied dependency on the Base Library.\r
+  EFI_DEVICE_PATH_PROTOCOL structures.\r
 \r
-Copyright (c) 2006 - 2009, Intel Corporation<BR>\r
-All rights reserved. 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
+Copyright (c) 2006 - 2010, Intel Corporation.  All rights reserved<BR>\r
+This program and the accompanying materials are licensed and made available under \r
+the terms and conditions of the BSD License that accompanies this distribution.  \r
+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
@@ -99,7 +97,8 @@ NextDevicePathNode (
 \r
 /**\r
   Determines if a device path node is an end node of a device path.\r
-  This includes nodes that are the end of a device path instance and nodes that are the end of an entire device path.\r
+  This includes nodes that are the end of a device path instance and nodes that \r
+  are the end of an entire device path.\r
 \r
   Determines if the device path node specified by Node is an end node of a device path.  \r
   This includes nodes that are the end of a device path instance and nodes that are the \r
@@ -214,7 +213,7 @@ SetDevicePathEndNode (
 \r
   @param  DevicePath                 A pointer to a device path data structure.\r
   \r
-  @retval 0       If DevicePath is NULL.\r
+  @retval 0       DevicePath is NULL.\r
   @retval Others  The size of a device path in bytes.\r
 \r
 **/\r
@@ -236,7 +235,7 @@ GetDevicePathSize (
   \r
   @param  DevicePath                 A pointer to a device path data structure.\r
 \r
-  @retval NULL    If DevicePath is NULL.\r
+  @retval NULL    DevicePath is NULL.\r
   @retval Others  A pointer to the duplicated device path.\r
   \r
 **/\r
@@ -293,7 +292,7 @@ AppendDevicePath (
   @param  DevicePath                 A pointer to a device path data structure.\r
   @param  DevicePathNode             A pointer to a single device path node.\r
 \r
-  @retval NULL      If there is not enough memory for the new device path.\r
+  @retval NULL      There is not enough memory for the new device path.\r
   @retval Others    A pointer to the new device path if success.\r
                     A copy of DevicePathNode followed by an end-of-device-path node \r
                     if both FirstDevicePath and SecondDevicePath are NULL.\r
@@ -400,7 +399,7 @@ CreateDeviceNode (
   @param  DevicePath                 A pointer to a device path data structure.\r
 \r
   @retval  TRUE                      DevicePath is multi-instance.\r
-  @retval  FALSE                     DevicePath is not multi-instance or DevicePath is NULL.\r
+  @retval  FALSE                     DevicePath is not multi-instance, or DevicePath is NULL.\r
 \r
 **/\r
 BOOLEAN\r