EmbeddedPkg[all]  0.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
DtPlatformDtbLoaderLib.h File Reference

Functions

EFI_STATUS EFIAPI DtPlatformLoadDtb (OUT VOID **Dtb, OUT UINTN *DtbSize)
 

Detailed Description

Copyright (c) 2017, Linaro, Ltd. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Function Documentation

EFI_STATUS EFIAPI DtPlatformLoadDtb ( OUT VOID **  Dtb,
OUT UINTN *  DtbSize 
)

Return a pool allocated copy of the DTB image that is appropriate for booting the current platform via DT.

Parameters
[out]DtbPointer to the DTB copy
[out]DtbSizeSize of the DTB copy
Return values
EFI_SUCCESSOperation completed successfully
EFI_NOT_FOUNDNo suitable DTB image could be located
EFI_OUT_OF_RESOURCESNo pool memory available