]> git.proxmox.com Git - mirror_edk2.git/blame - EmbeddedPkg/Include/Protocol/AndroidBootImg.h
ArmVirtPkg: add NOOPT target to platform .DSCs
[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
5 This program and the accompanying materials\r
6 are licensed and made available under the terms and conditions of the BSD License\r
7 which accompanies this distribution. The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php\r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15#ifndef __ANDROID_BOOTIMG_PROTOCOL_H__\r
16#define __ANDROID_BOOTIMG_PROTOCOL_H__\r
17\r
18//\r
19// Protocol interface structure\r
20//\r
21typedef struct _ANDROID_BOOTIMG_PROTOCOL ANDROID_BOOTIMG_PROTOCOL;\r
22\r
23//\r
24// Function Prototypes\r
25//\r
26typedef\r
27EFI_STATUS\r
28(EFIAPI *ANDROID_BOOTIMG_APPEND_KERNEL_ARGS) (\r
29 IN CHAR16 *Args,\r
30 IN UINTN Size\r
31 );\r
32\r
33typedef\r
34EFI_STATUS\r
35(EFIAPI *ANDROID_BOOTIMG_UPDATE_DTB) (\r
36 IN EFI_PHYSICAL_ADDRESS OrigDtbBase;\r
37 OUT EFI_PHYSICAL_ADDRESS *NewDtbBase;\r
38 );\r
39\r
40struct _ANDROID_BOOTIMG_PROTOCOL {\r
41 ANDROID_BOOTIMG_APPEND_KERNEL_ARGS AppendArgs;\r
42 ANDROID_BOOTIMG_UPDATE_DTB UpdateDtb;\r
43};\r
44\r
45extern EFI_GUID gAndroidBootImgProtocolGuid;\r
46\r
47#endif /* __ANDROID_BOOTIMG_PROTOCOL_H__ */\r