]> git.proxmox.com Git - mirror_edk2.git/blame - Vlv2TbltDevicePkg/Override/IntelFrameworkModulePkg/Library/GenericBdsLib/DevicePath.c
Vlv2TbltDevicePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / Vlv2TbltDevicePkg / Override / IntelFrameworkModulePkg / Library / GenericBdsLib / DevicePath.c
CommitLineData
3cbfba02
DW
1/** @file\r
2 BDS internal function define the default device path string, it can be\r
3 replaced by platform device path.\r
4\r
5Copyright (c) 2004 - 2013, Intel Corporation. All rights reserved.<BR>\r
9dc8036d 6SPDX-License-Identifier: BSD-2-Clause-Patent\r
3cbfba02
DW
7\r
8**/\r
9\r
10#include "InternalBdsLib.h"\r
11\r
12/**\r
13 This function converts an input device structure to a Unicode string.\r
14\r
15 @param DevPath A pointer to the device path structure.\r
16\r
17 @return A new allocated Unicode string that represents the device path.\r
18\r
19**/\r
20CHAR16 *\r
21EFIAPI\r
22DevicePathToStr (\r
23 IN EFI_DEVICE_PATH_PROTOCOL *DevPath\r
24 )\r
25{\r
26 return ConvertDevicePathToText (DevPath, TRUE, TRUE);\r
27}\r