]> git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDevicePath.c
SecurityPkg: Apply uncrustify changes
[mirror_edk2.git] / SecurityPkg / VariableAuthenticated / SecureBootConfigDxe / SecureBootConfigDevicePath.c
1 /** @file
2 Internal function defines the default device path string for SecureBoot configuration module.
3
4 Copyright (c) 2012 - 2013, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 **/
8
9 #include "SecureBootConfigImpl.h"
10
11 /**
12 This function converts an input device structure to a Unicode string.
13
14 @param[in] DevPath A pointer to the device path structure.
15
16 @return A new allocated Unicode string that represents the device path.
17
18 **/
19 CHAR16 *
20 EFIAPI
21 DevicePathToStr (
22 IN EFI_DEVICE_PATH_PROTOCOL *DevPath
23 )
24 {
25 return ConvertDevicePathToText (
26 DevPath,
27 FALSE,
28 TRUE
29 );
30 }