]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Library/DevicePathLib.h
Handle the case when OpROM wants to completely remove itself.
[mirror_edk2.git] / MdePkg / Include / Library / DevicePathLib.h
index 32f18f814872d2526319e355fa5c29f487c2e76a..68b1f1b8cf48893888b23dacb3fe0fcd9996e52b 100644 (file)
@@ -4,11 +4,11 @@
   This library provides defines, macros, and functions to help create and parse \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
@@ -97,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
@@ -212,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
@@ -234,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
@@ -291,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
@@ -398,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