ArmPkg: only attempt buildin MmCommunicationDxe for AArch64
[mirror_edk2.git] / EmbeddedPkg / Include / Protocol / AndroidBootImg.h
CommitLineData
fa74dd22
JN
1/** @file\r
2\r
3 Copyright (c) 2017, Linaro. All rights reserved.<BR>\r
4\r
878b807a 5 SPDX-License-Identifier: BSD-2-Clause-Patent\r
fa74dd22
JN
6\r
7**/\r
8\r
9#ifndef __ANDROID_BOOTIMG_PROTOCOL_H__\r
10#define __ANDROID_BOOTIMG_PROTOCOL_H__\r
11\r
12//\r
13// Protocol interface structure\r
14//\r
15typedef struct _ANDROID_BOOTIMG_PROTOCOL ANDROID_BOOTIMG_PROTOCOL;\r
16\r
17//\r
18// Function Prototypes\r
19//\r
20typedef\r
21EFI_STATUS\r
22(EFIAPI *ANDROID_BOOTIMG_APPEND_KERNEL_ARGS) (\r
23 IN CHAR16 *Args,\r
24 IN UINTN Size\r
25 );\r
26\r
27typedef\r
28EFI_STATUS\r
29(EFIAPI *ANDROID_BOOTIMG_UPDATE_DTB) (\r
ac811846
LL
30 IN EFI_PHYSICAL_ADDRESS OrigDtbBase,\r
31 OUT EFI_PHYSICAL_ADDRESS *NewDtbBase\r
fa74dd22
JN
32 );\r
33\r
34struct _ANDROID_BOOTIMG_PROTOCOL {\r
35 ANDROID_BOOTIMG_APPEND_KERNEL_ARGS AppendArgs;\r
36 ANDROID_BOOTIMG_UPDATE_DTB UpdateDtb;\r
37};\r
38\r
39extern EFI_GUID gAndroidBootImgProtocolGuid;\r
40\r
41#endif /* __ANDROID_BOOTIMG_PROTOCOL_H__ */\r