]> git.proxmox.com Git - mirror_edk2.git/blame - SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDevicePath.c
RedfishPkg: Apply uncrustify changes
[mirror_edk2.git] / SecurityPkg / VariableAuthenticated / SecureBootConfigDxe / SecureBootConfigDevicePath.c
CommitLineData
ecc722ad 1/** @file\r
2 Internal function defines the default device path string for SecureBoot configuration module.\r
3\r
863986b3 4Copyright (c) 2012 - 2013, Intel Corporation. All rights reserved.<BR>\r
289b714b 5SPDX-License-Identifier: BSD-2-Clause-Patent\r
ecc722ad 6\r
7**/\r
8\r
9#include "SecureBootConfigImpl.h"\r
10\r
ecc722ad 11\r
12/**\r
13 This function converts an input device structure to a Unicode string.\r
14\r
15 @param[in] 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
863986b3
RN
26 return ConvertDevicePathToText (\r
27 DevPath,\r
28 FALSE,\r
29 TRUE\r
30 );\r
ecc722ad 31}\r
32\r