]>
git.proxmox.com Git - mirror_edk2.git/blob - EmbeddedPkg/Include/Library/DtPlatformDtbLoaderLib.h
3 * Copyright (c) 2017, Linaro, Ltd. All rights reserved.
5 * SPDX-License-Identifier: BSD-2-Clause-Patent
9 #ifndef __DT_PLATFORM_DTB_LOADER_LIB_H__
10 #define __DT_PLATFORM_DTB_LOADER_LIB_H__
12 #include <Uefi/UefiBaseType.h>
15 Return a pool allocated copy of the DTB image that is appropriate for
16 booting the current platform via DT.
18 @param[out] Dtb Pointer to the DTB copy
19 @param[out] DtbSize Size of the DTB copy
21 @retval EFI_SUCCESS Operation completed successfully
22 @retval EFI_NOT_FOUND No suitable DTB image could be located
23 @retval EFI_OUT_OF_RESOURCES No pool memory available