+++ /dev/null
-/*++\r
-\r
-Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
-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
-\r
-Module Name:\r
-\r
- DevicePathFromText.h\r
-\r
-Abstract:\r
-\r
---*/\r
-\r
-#ifndef _DEVICE_PATH_FROM_TEXT_PROTOCOL_H_\r
-#define _DEVICE_PATH_FROM_TEXT_PROTOCOL_H_\r
-\r
-//\r
-// Device Path From Text protocol\r
-//\r
-#define EFI_DEVICE_PATH_FROM_TEXT_PROTOCOL_GUID \\r
- { \\r
- 0x5c99a21, 0xc70f, 0x4ad2, {0x8a, 0x5f, 0x35, 0xdf, 0x33, 0x43, 0xf5, 0x1e} \\r
- }\r
-\r
-typedef\r
-EFI_DEVICE_PATH_PROTOCOL*\r
-(EFIAPI *EFI_DEVICE_PATH_FROM_TEXT_NODE) (\r
- IN CONST CHAR16 *TextDeviceNode\r
- )\r
-/*++\r
-\r
- Routine Description:\r
- Convert text to the binary representation of a device node.\r
-\r
- Arguments:\r
- TextDeviceNode - TextDeviceNode points to the text representation of a device\r
- node. Conversion starts with the first character and continues\r
- until the first non-device node character.\r
-\r
- Returns:\r
- A pointer - Pointer to the EFI device node.\r
- NULL - if TextDeviceNode is NULL or there was insufficient memory.\r
-\r
---*/\r
-; \r
-\r
-typedef\r
-EFI_DEVICE_PATH_PROTOCOL*\r
-(EFIAPI *EFI_DEVICE_PATH_FROM_TEXT_PATH) (\r
- IN CONST CHAR16 *TextDevicePath\r
- )\r
-/*++\r
-\r
- Routine Description:\r
- Convert text to the binary representation of a device path.\r
-\r
- Arguments:\r
- TextDevicePath - TextDevicePath points to the text representation of a device\r
- path. Conversion starts with the first character and continues\r
- until the first non-device node character.\r
-\r
- Returns:\r
- A pointer - Pointer to the allocated device path.\r
- NULL - if TextDeviceNode is NULL or there was insufficient memory.\r
-\r
---*/\r
-;\r
-\r
-typedef struct {\r
- EFI_DEVICE_PATH_FROM_TEXT_NODE ConvertTextToDeviceNode;\r
- EFI_DEVICE_PATH_FROM_TEXT_PATH ConvertTextToDevicePath;\r
-} EFI_DEVICE_PATH_FROM_TEXT_PROTOCOL;\r
-\r
-extern EFI_GUID gEfiDevicePathFromTextProtocolGuid;\r
-\r
-#endif\r