TianoCore EDK2 master
Loading...
Searching...
No Matches
DxeDtPlatformDtbLoaderLibDefault.c File Reference

Go to the source code of this file.

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

Definition in file DxeDtPlatformDtbLoaderLibDefault.c.

Function Documentation

◆ DtPlatformLoadDtb()

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

Definition at line 29 of file DxeDtPlatformDtbLoaderLibDefault.c.