]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/DevicePathToText.h
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Include / Protocol / DevicePathToText.h
index 8e03c7f2fb83f4c3bcb8eeb31a7581ac72ed3166..245dae4b8092b5a20d1c7bd4bd3cbbf48d918ba7 100644 (file)
@@ -1,23 +1,15 @@
 /** @file\r
-  EFI_DEVICE_PATH_TO_TEXT_PROTOCOL as defined in UEFI 2.0.  \r
+  EFI_DEVICE_PATH_TO_TEXT_PROTOCOL as defined in UEFI 2.0.\r
   This protocol provides service to convert device nodes and paths to text.\r
 \r
-  Copyright (c) 2006 - 2008, Intel Corporation                                                         \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
-\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
+  Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
 #ifndef __DEVICE_PATH_TO_TEXT_PROTOCOL_H__\r
 #define __DEVICE_PATH_TO_TEXT_PROTOCOL_H__\r
 \r
-#include <Protocol/DevicePath.h>\r
-\r
 ///\r
 /// Device Path To Text protocol\r
 ///\r
@@ -47,8 +39,7 @@ CHAR16*
   IN CONST EFI_DEVICE_PATH_PROTOCOL   *DeviceNode,\r
   IN BOOLEAN                          DisplayOnly,\r
   IN BOOLEAN                          AllowShortcuts\r
-  )\r
-;      \r
+  );\r
 \r
 /**\r
   Convert a device path to its text representation.\r
@@ -57,7 +48,7 @@ CHAR16*
   @param  DisplayOnly    If DisplayOnly is TRUE, then the shorter text representation\r
                          of the display node is used, where applicable. If DisplayOnly\r
                          is FALSE, then the longer text representation of the display node\r
-                         is used.  \r
+                         is used.\r
   @param  AllowShortcuts The AllowShortcuts is FALSE, then the shortcut forms of\r
                          text representation for a device node cannot be used.\r
 \r
@@ -71,20 +62,11 @@ CHAR16*
   IN CONST EFI_DEVICE_PATH_PROTOCOL   *DevicePath,\r
   IN BOOLEAN                          DisplayOnly,\r
   IN BOOLEAN                          AllowShortcuts\r
-  )\r
-;    \r
+  );\r
 \r
-/**\r
-  @par Protocol Description:\r
-  This protocol converts device paths and device nodes to text.\r
-\r
-  @param ConvertTextToDeviceNode\r
-  Convert the device node to text.\r
-  \r
-  @param ConvertTextToDevicePath\r
-  Convert the device path to text.\r
-  \r
-**/\r
+///\r
+/// This protocol converts device paths and device nodes to text.\r
+///\r
 typedef struct {\r
   EFI_DEVICE_PATH_TO_TEXT_NODE        ConvertDeviceNodeToText;\r
   EFI_DEVICE_PATH_TO_TEXT_PATH        ConvertDevicePathToText;\r