]>
Commit | Line | Data |
---|---|---|
8c71ec8f | 1 | /** @file\r |
2 | Internal function defines the default device path string for SecureBoot configuration module.\r | |
3 | \r | |
863986b3 | 4 | Copyright (c) 2012 - 2013, Intel Corporation. All rights reserved.<BR>\r |
8c71ec8f | 5 | This program and the accompanying materials\r |
6 | are licensed and made available under the terms and conditions of the BSD License\r | |
7 | which accompanies this distribution. The full text of the license may be found at\r | |
8 | http://opensource.org/licenses/bsd-license.php\r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | \r | |
13 | **/\r | |
14 | \r | |
15 | #include "SecureBootConfigImpl.h"\r | |
16 | \r | |
8c71ec8f | 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 | |
26 | CHAR16 *\r | |
27 | EFIAPI\r | |
28 | DevicePathToStr (\r | |
29 | IN EFI_DEVICE_PATH_PROTOCOL *DevPath\r | |
30 | )\r | |
31 | {\r | |
863986b3 RN |
32 | return ConvertDevicePathToText (\r |
33 | DevPath,\r | |
34 | FALSE,\r | |
35 | TRUE\r | |
36 | );\r | |
8c71ec8f | 37 | }\r |
38 | \r |