VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/SecureBootConfigDxe/SecureBootConfigDevicePath.c@ 58464

Last change on this file since 58464 was 58464, checked in by vboxsync, 9 years ago

EFI/Firmware: Export new files and directories.

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

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette