]> git.proxmox.com Git - mirror_edk2.git/blame - SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDevicePath.c
SecurityPkg: 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 This function converts an input device structure to a Unicode string.\r
13\r
14 @param[in] DevPath A pointer to the device path structure.\r
15\r
16 @return A new allocated Unicode string that represents the device path.\r
17\r
18**/\r
19CHAR16 *\r
20EFIAPI\r
21DevicePathToStr (\r
c411b485 22 IN EFI_DEVICE_PATH_PROTOCOL *DevPath\r
ecc722ad 23 )\r
24{\r
863986b3
RN
25 return ConvertDevicePathToText (\r
26 DevPath,\r
27 FALSE,\r
28 TRUE\r
29 );\r
ecc722ad 30}\r