3 Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
4 This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
20 #ifndef _DEVICE_PATH_FROM_TEXT_PROTOCOL_H_
21 #define _DEVICE_PATH_FROM_TEXT_PROTOCOL_H_
24 // Device Path From Text protocol
26 #define EFI_DEVICE_PATH_FROM_TEXT_PROTOCOL_GUID \
28 0x5c99a21, 0xc70f, 0x4ad2, {0x8a, 0x5f, 0x35, 0xdf, 0x33, 0x43, 0xf5, 0x1e} \
32 EFI_DEVICE_PATH_PROTOCOL
*
33 (EFIAPI
*EFI_DEVICE_PATH_FROM_TEXT_NODE
) (
34 IN CONST CHAR16
*TextDeviceNode
39 Convert text to the binary representation of a device node.
42 TextDeviceNode - TextDeviceNode points to the text representation of a device
43 node. Conversion starts with the first character and continues
44 until the first non-device node character.
47 A pointer - Pointer to the EFI device node.
48 NULL - if TextDeviceNode is NULL or there was insufficient memory.
54 EFI_DEVICE_PATH_PROTOCOL
*
55 (EFIAPI
*EFI_DEVICE_PATH_FROM_TEXT_PATH
) (
56 IN CONST CHAR16
*TextDevicePath
61 Convert text to the binary representation of a device path.
64 TextDevicePath - TextDevicePath points to the text representation of a device
65 path. Conversion starts with the first character and continues
66 until the first non-device node character.
69 A pointer - Pointer to the allocated device path.
70 NULL - if TextDeviceNode is NULL or there was insufficient memory.
76 EFI_DEVICE_PATH_FROM_TEXT_NODE ConvertTextToDeviceNode
;
77 EFI_DEVICE_PATH_FROM_TEXT_PATH ConvertTextToDevicePath
;
78 } EFI_DEVICE_PATH_FROM_TEXT_PROTOCOL
;
80 extern EFI_GUID gEfiDevicePathFromTextProtocolGuid
;