X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FInclude%2FProtocol%2FDevicePathToText.h;h=f7a6c180035031abe2eb4b35c4202cfe90fd3f6e;hp=bf043e09a9cc257159bbea3badfeea13798ed857;hb=9df063a06aef048c042498e2f542fb693e93493a;hpb=4ca9b6c4e7dbbcf94f21b54f41f761cefc6b1086 diff --git a/MdePkg/Include/Protocol/DevicePathToText.h b/MdePkg/Include/Protocol/DevicePathToText.h index bf043e09a9..f7a6c18003 100644 --- a/MdePkg/Include/Protocol/DevicePathToText.h +++ b/MdePkg/Include/Protocol/DevicePathToText.h @@ -2,8 +2,8 @@ EFI_DEVICE_PATH_TO_TEXT_PROTOCOL as defined in UEFI 2.0. This protocol provides service to convert device nodes and paths to text. - Copyright (c) 2006 - 2008, Intel Corporation - All rights reserved. This program and the accompanying materials + Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
+ This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php @@ -16,11 +16,9 @@ #ifndef __DEVICE_PATH_TO_TEXT_PROTOCOL_H__ #define __DEVICE_PATH_TO_TEXT_PROTOCOL_H__ -#include - -// -// Device Path To Text protocol -// +/// +/// Device Path To Text protocol +/// #define EFI_DEVICE_PATH_TO_TEXT_PROTOCOL_GUID \ { \ 0x8b843e20, 0x8132, 0x4852, {0x90, 0xcc, 0x55, 0x1a, 0x4e, 0x4a, 0x7f, 0x1c } \ @@ -47,8 +45,7 @@ CHAR16* IN CONST EFI_DEVICE_PATH_PROTOCOL *DeviceNode, IN BOOLEAN DisplayOnly, IN BOOLEAN AllowShortcuts - ) -; + ); /** Convert a device path to its text representation. @@ -71,20 +68,11 @@ CHAR16* IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, IN BOOLEAN DisplayOnly, IN BOOLEAN AllowShortcuts - ) -; + ); -/** - @par Protocol Description: - This protocol converts device paths and device nodes to text. - - @param ConvertTextToDeviceNode - Convert the device node to text. - - @param ConvertTextToDevicePath - Convert the device path to text. - -**/ +/// +/// This protocol converts device paths and device nodes to text. +/// typedef struct { EFI_DEVICE_PATH_TO_TEXT_NODE ConvertDeviceNodeToText; EFI_DEVICE_PATH_TO_TEXT_PATH ConvertDevicePathToText;