]>
Commit | Line | Data |
---|---|---|
449a5df4 AB |
1 | /** @file\r |
2 | *\r | |
3 | * Copyright (c) 2017, Linaro, Ltd. All rights reserved.\r | |
4 | *\r | |
878b807a | 5 | * SPDX-License-Identifier: BSD-2-Clause-Patent\r |
449a5df4 AB |
6 | *\r |
7 | **/\r | |
8 | \r | |
9 | #ifndef __DT_PLATFORM_DTB_LOADER_LIB_H__\r | |
10 | #define __DT_PLATFORM_DTB_LOADER_LIB_H__\r | |
11 | \r | |
12 | #include <Uefi/UefiBaseType.h>\r | |
13 | \r | |
14 | /**\r | |
15 | Return a pool allocated copy of the DTB image that is appropriate for\r | |
16 | booting the current platform via DT.\r | |
17 | \r | |
18 | @param[out] Dtb Pointer to the DTB copy\r | |
19 | @param[out] DtbSize Size of the DTB copy\r | |
20 | \r | |
21 | @retval EFI_SUCCESS Operation completed successfully\r | |
22 | @retval EFI_NOT_FOUND No suitable DTB image could be located\r | |
23 | @retval EFI_OUT_OF_RESOURCES No pool memory available\r | |
24 | \r | |
25 | **/\r | |
26 | EFI_STATUS\r | |
27 | EFIAPI\r | |
28 | DtPlatformLoadDtb (\r | |
29 | OUT VOID **Dtb,\r | |
30 | OUT UINTN *DtbSize\r | |
31 | );\r | |
32 | \r | |
33 | #endif\r |