]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDevicePath.c
SecurityPkg/SecureBootConfigDxe: Fix deleting signature data issue.
[mirror_edk2.git] / SecurityPkg / VariableAuthenticated / SecureBootConfigDxe / SecureBootConfigDevicePath.c
... / ...
CommitLineData
1/** @file\r
2 Internal function defines the default device path string for SecureBoot configuration module.\r
3\r
4Copyright (c) 2012 - 2013, Intel Corporation. All rights reserved.<BR>\r
5This program and the accompanying materials\r
6are licensed and made available under the terms and conditions of the BSD License\r
7which accompanies this distribution. The full text of the license may be found at\r
8http://opensource.org/licenses/bsd-license.php\r
9\r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15#include "SecureBootConfigImpl.h"\r
16\r
17\r
18/**\r
19 This function converts an input device structure to a Unicode string.\r
20\r
21 @param[in] DevPath A pointer to the device path structure.\r
22\r
23 @return A new allocated Unicode string that represents the device path.\r
24\r
25**/\r
26CHAR16 *\r
27EFIAPI\r
28DevicePathToStr (\r
29 IN EFI_DEVICE_PATH_PROTOCOL *DevPath\r
30 )\r
31{\r
32 return ConvertDevicePathToText (\r
33 DevPath,\r
34 FALSE,\r
35 TRUE\r
36 );\r
37}\r
38\r