]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesStandaloneMm.c
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdePkg / Library / UefiDevicePathLib / DevicePathUtilitiesStandaloneMm.c
1 /** @file
2 Device Path services. The thing to remember is device paths are built out of
3 nodes. The device path is terminated by an end node that is length
4 sizeof(EFI_DEVICE_PATH_PROTOCOL). That would be why there is sizeof(EFI_DEVICE_PATH_PROTOCOL)
5 all over this file.
6
7 The only place where multi-instance device paths are supported is in
8 environment varibles. Multi-instance device paths should never be placed
9 on a Handle.
10
11 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
12 Copyright (c) Microsoft Corporation.
13 SPDX-License-Identifier: BSD-2-Clause-Patent
14
15 **/
16
17 #include "UefiDevicePathLib.h"
18
19 /**
20 Retrieves the device path protocol from a handle.
21
22 This function returns the device path protocol from the handle specified by Handle.
23 If Handle is NULL or Handle does not contain a device path protocol, then NULL
24 is returned.
25
26 @param Handle The handle from which to retrieve the device
27 path protocol.
28
29 @return The device path protocol from the handle specified by Handle.
30
31 **/
32 EFI_DEVICE_PATH_PROTOCOL *
33 EFIAPI
34 DevicePathFromHandle (
35 IN EFI_HANDLE Handle
36 )
37 {
38 return NULL;
39 }