X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FProtocol%2FDevicePathFromText.h;h=d00614b21d0c6eb51be8679eaf06ebb1a126220d;hb=99e8ed219f48b82694424e46c9512d4929d9d54e;hp=0d1ce3208aaf1fe404431c6de138e333795e8a16;hpb=562d28495df348923812281161e64bc9514e15e6;p=mirror_edk2.git diff --git a/MdePkg/Include/Protocol/DevicePathFromText.h b/MdePkg/Include/Protocol/DevicePathFromText.h index 0d1ce3208a..d00614b21d 100644 --- a/MdePkg/Include/Protocol/DevicePathFromText.h +++ b/MdePkg/Include/Protocol/DevicePathFromText.h @@ -2,7 +2,7 @@ EFI_DEVICE_PATH_FROM_TEXT_PROTOCOL as defined in UEFI 2.0. This protocol provides service to convert text to device paths and device nodes. - Copyright (c) 2006, Intel Corporation + 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 @@ -11,16 +11,16 @@ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. - Module Name: DevicePathFromText.h - **/ #ifndef __DEVICE_PATH_FROM_TEXT_PROTOCOL_H__ #define __DEVICE_PATH_FROM_TEXT_PROTOCOL_H__ -// -// Device Path From Text protocol -// +#include + +/// +/// Device Path From Text protocol +/// #define EFI_DEVICE_PATH_FROM_TEXT_PROTOCOL_GUID \ { \ 0x5c99a21, 0xc70f, 0x4ad2, {0x8a, 0x5f, 0x35, 0xdf, 0x33, 0x43, 0xf5, 0x1e } \ @@ -39,7 +39,7 @@ **/ typedef EFI_DEVICE_PATH_PROTOCOL* -(EFIAPI *EFI_DEVICE_PATH_FROM_TEXT_NODE) ( +(EFIAPI *EFI_DEVICE_PATH_FROM_TEXT_NODE)( IN CONST CHAR16 *TextDeviceNode ) ; @@ -58,11 +58,22 @@ EFI_DEVICE_PATH_PROTOCOL* **/ typedef EFI_DEVICE_PATH_PROTOCOL* -(EFIAPI *EFI_DEVICE_PATH_FROM_TEXT_PATH) ( +(EFIAPI *EFI_DEVICE_PATH_FROM_TEXT_PATH)( IN CONST CHAR16 *TextDevicePath ) ; + +/** + @par Protocol Description: + This protocol converts text to device paths and device nodes. + + @param ConvertTextToDeviceNode + Convert text to a device node. + + @param ConvertTextToDevicePath + Convert text to a device path +**/ typedef struct { EFI_DEVICE_PATH_FROM_TEXT_NODE ConvertTextToDeviceNode; EFI_DEVICE_PATH_FROM_TEXT_PATH ConvertTextToDevicePath;