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

Go to the source code of this file.

Functions

CHAR16 * UefiDevicePathLibStrDuplicate (IN CONST CHAR16 *Src)
 
CHAR16 * GetParamByNodeName (IN CHAR16 *Str, IN CHAR16 *NodeName)
 
CHAR16 * SplitStr (IN OUT CHAR16 **List, IN CHAR16 Separator)
 
CHAR16 * GetNextParamStr (IN OUT CHAR16 **List)
 
CHAR16 * GetNextDeviceNodeStr (IN OUT CHAR16 **DevicePath, OUT BOOLEAN *IsInstanceEnd)
 
BOOLEAN IsHexStr (IN CHAR16 *Str)
 
UINTN Strtoi (IN CHAR16 *Str)
 
VOID Strtoi64 (IN CHAR16 *Str, OUT UINT64 *Data)
 
VOID StrToAscii (IN CHAR16 *Str, IN OUT CHAR8 **AsciiStr)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextGenericPath (IN UINT8 Type, IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextPath (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextHardwarePath (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextPci (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextPcCard (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextMemoryMapped (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLConvertFromTextVendor (IN CHAR16 *TextDeviceNode, IN UINT8 Type, IN UINT8 SubType)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextVenHw (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextCtrl (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextBmc (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextAcpiPath (IN CHAR16 *TextDeviceNode)
 
UINT32 EisaIdFromText (IN CHAR16 *Text)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextAcpi (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLConvertFromTextAcpi (IN CHAR16 *TextDeviceNode, IN UINT32 PnPId)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextPciRoot (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextPcieRoot (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextFloppy (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextKeyboard (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextSerial (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextParallelPort (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextAcpiEx (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextAcpiExp (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextAcpiAdr (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextMsg (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextAta (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextScsi (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextFibre (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextFibreEx (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromText1394 (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextUsb (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextI2O (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextInfiniband (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextVenMsg (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextVenPcAnsi (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextVenVt100 (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextVenVt100Plus (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextVenUtf8 (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextUartFlowCtrl (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextSAS (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextSasEx (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextNVMe (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextUfs (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextSd (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextEmmc (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextDebugPort (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextMAC (IN CHAR16 *TextDeviceNode)
 
UINTN NetworkProtocolFromText (IN CHAR16 *Text)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextIPv4 (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextIPv6 (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextUart (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLConvertFromTextUsbClass (IN CHAR16 *TextDeviceNode, IN USB_CLASS_TEXT *UsbClassText)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextUsbClass (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextUsbAudio (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextUsbCDCControl (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextUsbHID (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextUsbImage (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextUsbPrinter (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextUsbMassStorage (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextUsbHub (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextUsbCDCData (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextUsbSmartCard (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextUsbVideo (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextUsbDiagnostic (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextUsbWireless (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextUsbDeviceFirmwareUpdate (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextUsbIrdaBridge (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextUsbTestAndMeasurement (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextUsbWwid (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextUnit (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextiSCSI (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextVlan (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextBluetooth (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextWiFi (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextBluetoothLE (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextDns (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextUri (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextMediaPath (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextHD (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextCDROM (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextVenMedia (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextFilePath (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextMedia (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextFv (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextFvFile (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextRelativeOffsetRange (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextRamDisk (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextVirtualDisk (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextVirtualCd (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextPersistentVirtualDisk (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextPersistentVirtualCd (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextBbsPath (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextBBS (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOLDevPathFromTextSata (IN CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOL *EFIAPI UefiDevicePathLibConvertTextToDeviceNode (IN CONST CHAR16 *TextDeviceNode)
 
EFI_DEVICE_PATH_PROTOCOL *EFIAPI UefiDevicePathLibConvertTextToDevicePath (IN CONST CHAR16 *TextDevicePath)
 

Variables

GLOBAL_REMOVE_IF_UNREFERENCED DEVICE_PATH_FROM_TEXT_TABLE mUefiDevicePathLibDevPathFromTextTable []
 

Detailed Description

DevicePathFromText protocol as defined in the UEFI 2.0 specification.

Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file DevicePathFromText.c.

Function Documentation

◆ ConvertFromTextAcpi()

EFI_DEVICE_PATH_PROTOCOL * ConvertFromTextAcpi ( IN CHAR16 *  TextDeviceNode,
IN UINT32  PnPId 
)

Converts a text device path node to ACPI HID device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
PnPIdThe input plug and play identification.
Returns
A pointer to the newly-created ACPI HID device path structure.

Definition at line 743 of file DevicePathFromText.c.

◆ ConvertFromTextUsbClass()

EFI_DEVICE_PATH_PROTOCOL * ConvertFromTextUsbClass ( IN CHAR16 *  TextDeviceNode,
IN USB_CLASS_TEXT UsbClassText 
)

Converts a text device path node to USB class device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
UsbClassTextA pointer to USB_CLASS_TEXT structure to be integrated to USB Class Text.
Returns
A pointer to the newly-created USB class device path structure.

Definition at line 2155 of file DevicePathFromText.c.

◆ ConvertFromTextVendor()

EFI_DEVICE_PATH_PROTOCOL * ConvertFromTextVendor ( IN CHAR16 *  TextDeviceNode,
IN UINT8  Type,
IN UINT8  SubType 
)

Converts a text device path node to Vendor device path structure based on the input Type and SubType.

Parameters
TextDeviceNodeThe input Text device path node.
TypeThe type of device path node.
SubTypeThe subtype of device path node.
Returns
A pointer to the newly-created Vendor device path structure.

Definition at line 545 of file DevicePathFromText.c.

◆ DevPathFromText1394()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromText1394 ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to 1394 device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created 1394 device path structure.

Definition at line 1219 of file DevicePathFromText.c.

◆ DevPathFromTextAcpi()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextAcpi ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to ACPI HID device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created ACPI HID device path structure.

Definition at line 709 of file DevicePathFromText.c.

◆ DevPathFromTextAcpiAdr()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextAcpiAdr ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to ACPI _ADR device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created ACPI _ADR device path structure.

Definition at line 990 of file DevicePathFromText.c.

◆ DevPathFromTextAcpiEx()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextAcpiEx ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to ACPI extension device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created ACPI extension device path structure.

Definition at line 871 of file DevicePathFromText.c.

◆ DevPathFromTextAcpiExp()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextAcpiExp ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to ACPI extension device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created ACPI extension device path structure.

Definition at line 924 of file DevicePathFromText.c.

◆ DevPathFromTextAcpiPath()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextAcpiPath ( IN CHAR16 *  TextDeviceNode)

Converts a generic ACPI text device path node to ACPI device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to ACPI device path structure.

Definition at line 674 of file DevicePathFromText.c.

◆ DevPathFromTextAta()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextAta ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to Parallel Port device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created Parallel Port device path structure.

Definition at line 1062 of file DevicePathFromText.c.

◆ DevPathFromTextBBS()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextBBS ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to BIOS Boot Specification device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created BIOS Boot Specification device path structure.

Definition at line 3534 of file DevicePathFromText.c.

◆ DevPathFromTextBbsPath()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextBbsPath ( IN CHAR16 *  TextDeviceNode)

Converts a BBS text device path node to BBS device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to BBS device path structure.

Definition at line 3518 of file DevicePathFromText.c.

◆ DevPathFromTextBluetooth()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextBluetooth ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to Bluetooth device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created Bluetooth device path structure.

Definition at line 2787 of file DevicePathFromText.c.

◆ DevPathFromTextBluetoothLE()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextBluetoothLE ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to Bluetooth LE device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created Bluetooth LE device path structure.

Definition at line 2861 of file DevicePathFromText.c.

◆ DevPathFromTextBmc()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextBmc ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to BMC device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created BMC device path structure.

Definition at line 638 of file DevicePathFromText.c.

◆ DevPathFromTextCDROM()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextCDROM ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to CDROM device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created CDROM device path structure.

Definition at line 3100 of file DevicePathFromText.c.

◆ DevPathFromTextCtrl()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextCtrl ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to Hardware Controller device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created Hardware Controller device path structure.

Definition at line 608 of file DevicePathFromText.c.

◆ DevPathFromTextDebugPort()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextDebugPort ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to Debug Port device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created Debug Port device path structure.

Definition at line 1855 of file DevicePathFromText.c.

◆ DevPathFromTextDns()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextDns ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to DNS device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created DNS device path structure.

Definition at line 2899 of file DevicePathFromText.c.

◆ DevPathFromTextEmmc()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextEmmc ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to EMMC (Embedded MMC) device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created EMMC device path structure.

Definition at line 1825 of file DevicePathFromText.c.

◆ DevPathFromTextFibre()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextFibre ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to Fibre device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created Fibre device path structure.

Definition at line 1148 of file DevicePathFromText.c.

◆ DevPathFromTextFibreEx()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextFibreEx ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to FibreEx device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created FibreEx device path structure.

Definition at line 1182 of file DevicePathFromText.c.

◆ DevPathFromTextFilePath()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextFilePath ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to File device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created File device path structure.

Definition at line 3156 of file DevicePathFromText.c.

◆ DevPathFromTextFloppy()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextFloppy ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to Floppy device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created Floppy device path structure.

Definition at line 807 of file DevicePathFromText.c.

◆ DevPathFromTextFv()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextFv ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to firmware volume device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created firmware volume device path structure.

Definition at line 3214 of file DevicePathFromText.c.

◆ DevPathFromTextFvFile()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextFvFile ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to firmware file device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created firmware file device path structure.

Definition at line 3244 of file DevicePathFromText.c.

◆ DevPathFromTextGenericPath()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextGenericPath ( IN UINT8  Type,
IN CHAR16 *  TextDeviceNode 
)

Converts a generic text device path node to device path structure.

Parameters
TypeThe type of the device path node.
TextDeviceNodeThe input text device path node.
Returns
A pointer to device path structure.

Definition at line 366 of file DevicePathFromText.c.

◆ DevPathFromTextHardwarePath()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextHardwarePath ( IN CHAR16 *  TextDeviceNode)

Converts a generic hardware text device path node to Hardware device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to Hardware device path structure.

Definition at line 427 of file DevicePathFromText.c.

◆ DevPathFromTextHD()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextHD ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to HD device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created HD device path structure.

Definition at line 3038 of file DevicePathFromText.c.

◆ DevPathFromTextI2O()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextI2O ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to I20 device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created I20 device path structure.

Definition at line 1283 of file DevicePathFromText.c.

◆ DevPathFromTextInfiniband()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextInfiniband ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to Infini Band device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created Infini Band device path structure.

Definition at line 1313 of file DevicePathFromText.c.

◆ DevPathFromTextIPv4()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextIPv4 ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to IPV4 device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created IPV4 device path structure.

Definition at line 1947 of file DevicePathFromText.c.

◆ DevPathFromTextIPv6()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextIPv6 ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to IPV6 device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created IPV6 device path structure.

Definition at line 2007 of file DevicePathFromText.c.

◆ DevPathFromTextiSCSI()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextiSCSI ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to iSCSI device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created iSCSI device path structure.

Definition at line 2677 of file DevicePathFromText.c.

◆ DevPathFromTextKeyboard()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextKeyboard ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to Keyboard device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created Keyboard device path structure.

Definition at line 823 of file DevicePathFromText.c.

◆ DevPathFromTextMAC()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextMAC ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to MAC device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created MAC device path structure.

Definition at line 1883 of file DevicePathFromText.c.

◆ DevPathFromTextMedia()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextMedia ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to Media protocol device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created Media protocol device path structure.

Definition at line 3184 of file DevicePathFromText.c.

◆ DevPathFromTextMediaPath()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextMediaPath ( IN CHAR16 *  TextDeviceNode)

Converts a media text device path node to media device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to media device path structure.

Definition at line 3022 of file DevicePathFromText.c.

◆ DevPathFromTextMemoryMapped()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextMemoryMapped ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to Hardware memory map device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to Hardware memory map device path structure.

Definition at line 506 of file DevicePathFromText.c.

◆ DevPathFromTextMsg()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextMsg ( IN CHAR16 *  TextDeviceNode)

Converts a generic messaging text device path node to messaging device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to messaging device path structure.

Definition at line 1046 of file DevicePathFromText.c.

◆ DevPathFromTextNVMe()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextNVMe ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to NVM Express Namespace device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created NVM Express Namespace device path structure.

Definition at line 1722 of file DevicePathFromText.c.

◆ DevPathFromTextParallelPort()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextParallelPort ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to Parallel Port device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created Parallel Port device path structure.

Definition at line 855 of file DevicePathFromText.c.

◆ DevPathFromTextPath()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextPath ( IN CHAR16 *  TextDeviceNode)

Converts a generic text device path node to device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to device path structure.

Definition at line 407 of file DevicePathFromText.c.

◆ DevPathFromTextPcCard()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextPcCard ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to Hardware PC card device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to Hardware PC card device path structure.

Definition at line 476 of file DevicePathFromText.c.

◆ DevPathFromTextPci()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextPci ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to Hardware PCI device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to Hardware PCI device path structure.

Definition at line 443 of file DevicePathFromText.c.

◆ DevPathFromTextPcieRoot()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextPcieRoot ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to PCIE root device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created PCIE root device path structure.

Definition at line 791 of file DevicePathFromText.c.

◆ DevPathFromTextPciRoot()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextPciRoot ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to PCI root device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created PCI root device path structure.

Definition at line 775 of file DevicePathFromText.c.

◆ DevPathFromTextPersistentVirtualCd()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextPersistentVirtualCd ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to text persistent virtual cd device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created Text device path structure.

Definition at line 3476 of file DevicePathFromText.c.

◆ DevPathFromTextPersistentVirtualDisk()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextPersistentVirtualDisk ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to text persistent virtual disk device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created Text device path structure.

Definition at line 3434 of file DevicePathFromText.c.

◆ DevPathFromTextRamDisk()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextRamDisk ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to text ram disk device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created Text device path structure.

Definition at line 3307 of file DevicePathFromText.c.

◆ DevPathFromTextRelativeOffsetRange()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextRelativeOffsetRange ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to text relative offset device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created Text device path structure.

Definition at line 3274 of file DevicePathFromText.c.

◆ DevPathFromTextSAS()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextSAS ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to Serial Attached SCSI device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created Serial Attached SCSI device path structure.

Definition at line 1524 of file DevicePathFromText.c.

◆ DevPathFromTextSasEx()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextSasEx ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to Serial Attached SCSI Ex device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created Serial Attached SCSI Ex device path structure.

Definition at line 1623 of file DevicePathFromText.c.

◆ DevPathFromTextSata()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextSata ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to SATA device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created SATA device path structure.

Definition at line 3590 of file DevicePathFromText.c.

◆ DevPathFromTextScsi()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextScsi ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to SCSI device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created SCSI device path structure.

Definition at line 1115 of file DevicePathFromText.c.

◆ DevPathFromTextSd()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextSd ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to SD (Secure Digital) device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created SD device path structure.

Definition at line 1795 of file DevicePathFromText.c.

◆ DevPathFromTextSerial()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextSerial ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to Serial device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created Serial device path structure.

Definition at line 839 of file DevicePathFromText.c.

◆ DevPathFromTextUart()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextUart ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to UART device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created UART device path structure.

Definition at line 2069 of file DevicePathFromText.c.

◆ DevPathFromTextUartFlowCtrl()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextUartFlowCtrl ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to UART Flow Control device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created UART Flow Control device path structure.

Definition at line 1487 of file DevicePathFromText.c.

◆ DevPathFromTextUfs()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextUfs ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to UFS device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created UFS device path structure.

Definition at line 1762 of file DevicePathFromText.c.

◆ DevPathFromTextUnit()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextUnit ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to Logic Unit device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created Logic Unit device path structure.

Definition at line 2647 of file DevicePathFromText.c.

◆ DevPathFromTextUri()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextUri ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to URI device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created URI device path structure.

Definition at line 2990 of file DevicePathFromText.c.

◆ DevPathFromTextUsb()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextUsb ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to USB device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created USB device path structure.

Definition at line 1250 of file DevicePathFromText.c.

◆ DevPathFromTextUsbAudio()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextUsbAudio ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to USB audio device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created USB audio device path structure.

Definition at line 2254 of file DevicePathFromText.c.

◆ DevPathFromTextUsbCDCControl()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextUsbCDCControl ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to USB CDC Control device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created USB CDC Control device path structure.

Definition at line 2276 of file DevicePathFromText.c.

◆ DevPathFromTextUsbCDCData()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextUsbCDCData ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to USB CDC data device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created USB CDC data device path structure.

Definition at line 2408 of file DevicePathFromText.c.

◆ DevPathFromTextUsbClass()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextUsbClass ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to USB class device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created USB class device path structure.

Definition at line 2233 of file DevicePathFromText.c.

◆ DevPathFromTextUsbDeviceFirmwareUpdate()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextUsbDeviceFirmwareUpdate ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to USB device firmware update device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created USB device firmware update device path structure.

Definition at line 2518 of file DevicePathFromText.c.

◆ DevPathFromTextUsbDiagnostic()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextUsbDiagnostic ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to USB diagnostic device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created USB diagnostic device path structure.

Definition at line 2474 of file DevicePathFromText.c.

◆ DevPathFromTextUsbHID()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextUsbHID ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to USB HID device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created USB HID device path structure.

Definition at line 2298 of file DevicePathFromText.c.

◆ DevPathFromTextUsbHub()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextUsbHub ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to USB HUB device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created USB HUB device path structure.

Definition at line 2386 of file DevicePathFromText.c.

◆ DevPathFromTextUsbImage()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextUsbImage ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to USB Image device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created USB Image device path structure.

Definition at line 2320 of file DevicePathFromText.c.

◆ DevPathFromTextUsbIrdaBridge()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextUsbIrdaBridge ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to USB IRDA bridge device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created USB IRDA bridge device path structure.

Definition at line 2541 of file DevicePathFromText.c.

◆ DevPathFromTextUsbMassStorage()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextUsbMassStorage ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to USB mass storage device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created USB mass storage device path structure.

Definition at line 2364 of file DevicePathFromText.c.

◆ DevPathFromTextUsbPrinter()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextUsbPrinter ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to USB Print device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created USB Print device path structure.

Definition at line 2342 of file DevicePathFromText.c.

◆ DevPathFromTextUsbSmartCard()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextUsbSmartCard ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to USB smart card device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created USB smart card device path structure.

Definition at line 2430 of file DevicePathFromText.c.

◆ DevPathFromTextUsbTestAndMeasurement()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextUsbTestAndMeasurement ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to USB text and measurement device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created USB text and measurement device path structure.

Definition at line 2564 of file DevicePathFromText.c.

◆ DevPathFromTextUsbVideo()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextUsbVideo ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to USB video device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created USB video device path structure.

Definition at line 2452 of file DevicePathFromText.c.

◆ DevPathFromTextUsbWireless()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextUsbWireless ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to USB wireless device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created USB wireless device path structure.

Definition at line 2496 of file DevicePathFromText.c.

◆ DevPathFromTextUsbWwid()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextUsbWwid ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to USB WWID device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created USB WWID device path structure.

Definition at line 2587 of file DevicePathFromText.c.

◆ DevPathFromTextVenHw()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextVenHw ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to Vendor Hardware device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created Vendor Hardware device path structure.

Definition at line 588 of file DevicePathFromText.c.

◆ DevPathFromTextVenMedia()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextVenMedia ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to Vendor-defined media device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created Vendor-defined media device path structure.

Definition at line 3136 of file DevicePathFromText.c.

◆ DevPathFromTextVenMsg()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextVenMsg ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to Vendor-Defined Messaging device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created Vendor-Defined Messaging device path structure.

Definition at line 1355 of file DevicePathFromText.c.

◆ DevPathFromTextVenPcAnsi()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextVenPcAnsi ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to Vendor defined PC-ANSI device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created Vendor defined PC-ANSI device path structure.

Definition at line 1375 of file DevicePathFromText.c.

◆ DevPathFromTextVenUtf8()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextVenUtf8 ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to Vendor defined UTF8 device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created Vendor defined UTF8 device path structure.

Definition at line 1459 of file DevicePathFromText.c.

◆ DevPathFromTextVenVt100()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextVenVt100 ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to Vendor defined VT100 device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created Vendor defined VT100 device path structure.

Definition at line 1403 of file DevicePathFromText.c.

◆ DevPathFromTextVenVt100Plus()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextVenVt100Plus ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to Vendor defined VT100 Plus device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created Vendor defined VT100 Plus device path structure.

Definition at line 1431 of file DevicePathFromText.c.

◆ DevPathFromTextVirtualCd()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextVirtualCd ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to text virtual cd device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created Text device path structure.

Definition at line 3392 of file DevicePathFromText.c.

◆ DevPathFromTextVirtualDisk()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextVirtualDisk ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to text virtual disk device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created Text device path structure.

Definition at line 3350 of file DevicePathFromText.c.

◆ DevPathFromTextVlan()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextVlan ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to VLAN device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created VLAN device path structure.

Definition at line 2757 of file DevicePathFromText.c.

◆ DevPathFromTextWiFi()

EFI_DEVICE_PATH_PROTOCOL * DevPathFromTextWiFi ( IN CHAR16 *  TextDeviceNode)

Converts a text device path node to Wi-Fi device path structure.

Parameters
TextDeviceNodeThe input Text device path node.
Returns
A pointer to the newly-created Wi-Fi device path structure.

Definition at line 2822 of file DevicePathFromText.c.

◆ EisaIdFromText()

UINT32 EisaIdFromText ( IN CHAR16 *  Text)

Converts a string to EisaId.

Parameters
TextThe input string.
Returns
UINT32 EISA ID.

Definition at line 689 of file DevicePathFromText.c.

◆ GetNextDeviceNodeStr()

CHAR16 * GetNextDeviceNodeStr ( IN OUT CHAR16 **  DevicePath,
OUT BOOLEAN *  IsInstanceEnd 
)

Get one device node from entire device path text.

Parameters
DevicePathOn input, the current Device Path node; on output, the next device path node
IsInstanceEndThis node is the end of a device path instance
Returns
A device node text or NULL if no more device node available

Definition at line 182 of file DevicePathFromText.c.

◆ GetNextParamStr()

CHAR16 * GetNextParamStr ( IN OUT CHAR16 **  List)

Gets the next parameter string from the list.

Parameters
ListA string list separated by the specified separator
Returns
A pointer to the current sub-string

Definition at line 162 of file DevicePathFromText.c.

◆ GetParamByNodeName()

CHAR16 * GetParamByNodeName ( IN CHAR16 *  Str,
IN CHAR16 *  NodeName 
)

Get parameter in a pair of parentheses follow the given node name. For example, given the "Pci(0,1)" and NodeName "Pci", it returns "0,1".

Parameters
StrDevice Path Text.
NodeNameName of the node.
Returns
Parameter text for the node.

Definition at line 40 of file DevicePathFromText.c.

◆ IsHexStr()

BOOLEAN IsHexStr ( IN CHAR16 *  Str)

Return whether the integer string is a hex string.

Parameters
StrThe integer string
Return values
TRUEHex string
FALSEDecimal string

Definition at line 265 of file DevicePathFromText.c.

◆ NetworkProtocolFromText()

UINTN NetworkProtocolFromText ( IN CHAR16 *  Text)

Converts a text format to the network protocol ID.

Parameters
TextString of protocol field.
Returns
Network protocol ID .

Definition at line 1923 of file DevicePathFromText.c.

◆ SplitStr()

CHAR16 * SplitStr ( IN OUT CHAR16 **  List,
IN CHAR16  Separator 
)

Gets current sub-string from a string list, before return the list header is moved to next sub-string. The sub-string is separated by the specified character. For example, the separator is ',', the string list is "2,0,3", it returns "2", the remain list move to "0,3"

Parameters
ListA string list separated by the specified separator
SeparatorThe separator character
Returns
A pointer to the current sub-string

Definition at line 111 of file DevicePathFromText.c.

◆ StrToAscii()

VOID StrToAscii ( IN CHAR16 *  Str,
IN OUT CHAR8 **  AsciiStr 
)

Converts a Unicode string to ASCII string.

Parameters
StrThe equivalent Unicode string
AsciiStrOn input, it points to destination ASCII string buffer; on output, it points to the next ASCII string next to it

Definition at line 337 of file DevicePathFromText.c.

◆ Strtoi()

UINTN Strtoi ( IN CHAR16 *  Str)

Convert integer string to uint.

Parameters
StrThe integer string. If leading with "0x" or "0X", it's hexadecimal.
Returns
A UINTN value represented by Str

Definition at line 296 of file DevicePathFromText.c.

◆ Strtoi64()

VOID Strtoi64 ( IN CHAR16 *  Str,
OUT UINT64 *  Data 
)

Convert integer string to 64 bit data.

Parameters
StrThe integer string. If leading with "0x" or "0X", it's hexadecimal.
DataA pointer to the UINT64 value represented by Str

Definition at line 316 of file DevicePathFromText.c.

◆ UefiDevicePathLibConvertTextToDeviceNode()

EFI_DEVICE_PATH_PROTOCOL *EFIAPI UefiDevicePathLibConvertTextToDeviceNode ( 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.
Returns
A pointer to the EFI device node or NULL if TextDeviceNode is NULL or there was insufficient memory or text unsupported.

Definition at line 3736 of file DevicePathFromText.c.

◆ UefiDevicePathLibConvertTextToDevicePath()

EFI_DEVICE_PATH_PROTOCOL *EFIAPI UefiDevicePathLibConvertTextToDevicePath ( IN CONST CHAR16 *  TextDevicePath)

Convert text to the binary representation of a device path.

Parameters
TextDevicePathTextDevicePath points to the text representation of a device path. Conversion starts with the first character and continues until the first non-device node character.
Returns
A pointer to the allocated device path or NULL if TextDeviceNode is NULL or there was insufficient memory.

Definition at line 3793 of file DevicePathFromText.c.

◆ UefiDevicePathLibStrDuplicate()

CHAR16 * UefiDevicePathLibStrDuplicate ( IN CONST CHAR16 *  Src)

Duplicates a string.

Parameters
SrcSource string.
Returns
The duplicated string.

Definition at line 21 of file DevicePathFromText.c.

Variable Documentation

◆ mUefiDevicePathLibDevPathFromTextTable

GLOBAL_REMOVE_IF_UNREFERENCED DEVICE_PATH_FROM_TEXT_TABLE mUefiDevicePathLibDevPathFromTextTable[]

Definition at line 3629 of file DevicePathFromText.c.