TianoCore EDK2 master
Loading...
Searching...
No Matches
DevicePathFromText.h File Reference

Go to the source code of this file.

Data Structures

struct  EFI_DEVICE_PATH_FROM_TEXT_PROTOCOL
 

Macros

#define EFI_DEVICE_PATH_FROM_TEXT_PROTOCOL_GUID
 

Typedefs

typedef EFI_DEVICE_PATH_PROTOCOL *(EFIAPI * EFI_DEVICE_PATH_FROM_TEXT_NODE) (IN CONST CHAR16 *TextDeviceNode)
 
typedef EFI_DEVICE_PATH_PROTOCOL *(EFIAPI * EFI_DEVICE_PATH_FROM_TEXT_PATH) (IN CONST CHAR16 *TextDevicePath)
 

Variables

EFI_GUID gEfiDevicePathFromTextProtocolGuid
 

Detailed Description

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 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file DevicePathFromText.h.

Macro Definition Documentation

◆ EFI_DEVICE_PATH_FROM_TEXT_PROTOCOL_GUID

#define EFI_DEVICE_PATH_FROM_TEXT_PROTOCOL_GUID
Value:
{ \
0x5c99a21, 0xc70f, 0x4ad2, {0x8a, 0x5f, 0x35, 0xdf, 0x33, 0x43, 0xf5, 0x1e } \
}

Device Path From Text protocol

Definition at line 16 of file DevicePathFromText.h.

Typedef Documentation

◆ EFI_DEVICE_PATH_FROM_TEXT_NODE

typedef EFI_DEVICE_PATH_PROTOCOL *(EFIAPI * EFI_DEVICE_PATH_FROM_TEXT_NODE) (IN CONST CHAR16 *TextDeviceNode)

Convert text to the binary representation of a device node.

Parameters
TextDeviceNodeTextDeviceNode points to the text representation of a device node. Conversion starts with the first character and continues until the first non-device node character.
Return values
a_pointerPointer to the EFI device node.
NULLif TextDeviceNode is NULL or there was insufficient memory.

Definition at line 33 of file DevicePathFromText.h.

◆ EFI_DEVICE_PATH_FROM_TEXT_PATH

typedef EFI_DEVICE_PATH_PROTOCOL *(EFIAPI * EFI_DEVICE_PATH_FROM_TEXT_PATH) (IN CONST CHAR16 *TextDevicePath)

Convert text to the binary representation of a device node.

Parameters
TextDeviceNodeTextDevicePath points to the text representation of a device path. Conversion starts with the first character and continues until the first non-device path character.
Return values
a_pointerPointer to the allocated device path.
NULLif TextDeviceNode is NULL or there was insufficient memory.

Definition at line 50 of file DevicePathFromText.h.