TianoCore EDK2 master
|
#include <PiDxe.h>
#include <Library/BaseLib.h>
#include <Library/DxeServicesLib.h>
#include <Library/MemoryAllocationLib.h>
Go to the source code of this file.
Functions | |
EFI_STATUS EFIAPI | DtPlatformLoadDtb (OUT VOID **Dtb, OUT UINTN *DtbSize) |
Copyright (c) 2017, Linaro, Ltd. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file DxeDtPlatformDtbLoaderLibDefault.c.
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.
[out] | Dtb | Pointer to the DTB copy |
[out] | DtbSize | Size of the DTB copy |
EFI_SUCCESS | Operation completed successfully |
EFI_NOT_FOUND | No suitable DTB image could be located |
EFI_OUT_OF_RESOURCES | No pool memory available |
Definition at line 29 of file DxeDtPlatformDtbLoaderLibDefault.c.